Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008446/0.0008446, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004932/0.004932, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.082/2.082, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002733/0.0002732, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5233/0.5236, allocations: 142.4 MB / 0.9552 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001068/0.5247, allocations: 1.107 MB / 0.9562 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002425/0.5271, allocations: 2.885 MB / 0.9591 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.5271, allocations: 0 / 0.9591 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.49e-05/0.5272, allocations: 9.297 kB / 0.9591 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.081e-05/0.5273, allocations: 37.48 kB / 0.9591 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.5276, allocations: 160.7 kB / 0.9592 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.5279, allocations: 331.2 kB / 0.9596 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.893e-05/0.5279, allocations: 6.859 kB / 0.9596 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.108e-05/0.528, allocations: 93.45 kB / 0.9597 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.5281, allocations: 132 kB / 0.9598 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.5282, allocations: 11.19 kB / 0.9598 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002954/0.5285, allocations: 155 kB / 0.9599 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.261e-05/0.5285, allocations: 85.48 kB / 0.96 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.074e-05/0.5286, allocations: 120.3 kB / 0.9601 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.5289, allocations: 269.7 kB / 0.9604 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5289, allocations: 0 / 0.9604 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5289, allocations: 3.984 kB / 0.9604 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.5289, allocations: 1.375 kB / 0.9604 GB, free: 3.742 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006281/0.5296, allocations: 0.5262 MB / 0.9609 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.5296, allocations: 10.19 kB / 0.9609 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.829e-05/0.5296, allocations: 47.95 kB / 0.961 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.116e-05/0.5297, allocations: 18 kB / 0.961 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.5299, allocations: 249.7 kB / 0.9612 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.873e-05/0.5299, allocations: 23.33 kB / 0.9613 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.53, allocations: 18.19 kB / 0.9613 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000593/0.5306, allocations: 320.4 kB / 0.9616 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.5306, allocations: 0 / 0.9616 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.5306, allocations: 5.969 kB / 0.9616 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.5306, allocations: 3 kB / 0.9616 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.532, allocations: 0.813 MB / 0.9624 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.5322, allocations: 301.9 kB / 0.9627 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.5338, allocations: 0.7792 MB / 0.9634 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004851/0.5343, allocations: 260.8 kB / 0.9637 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000259/0.5346, allocations: 390.2 kB / 0.964 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.5346, allocations: 36.56 kB / 0.9641 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 1.272e-06/0.5346, allocations: 3.938 kB / 0.9641 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001564/0.5362, allocations: 0.7403 MB / 0.9648 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.945e-05/0.5362, allocations: 55.28 kB / 0.9649 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.267e-05/0.5363, allocations: 125.7 kB / 0.965 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.5363, allocations: 30.73 kB / 0.965 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.087e-05/0.5364, allocations: 95.83 kB / 0.9651 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.003e-05/0.5364, allocations: 125.6 kB / 0.9652 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.5365, allocations: 26.62 kB / 0.9652 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.11e-05/0.5365, allocations: 332.2 kB / 0.9656 GB, free: 232 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004784/0.537, allocations: 217.1 kB / 0.9658 GB, free: 156 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004742/0.5375, allocations: 233.7 kB / 0.966 GB, free: 68 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009336/0.5384, allocations: 418.5 kB / 0.9664 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5384, allocations: 4 kB / 0.9664 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001087/0.5395, allocations: 0.5194 MB / 0.9669 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.5395, allocations: 5.344 kB / 0.9669 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.5396, allocations: 1.094 kB / 0.9669 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.5396, allocations: 5.5 kB / 0.9669 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.5399, allocations: 112.3 kB / 0.967 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.54, allocations: 9.828 kB / 0.967 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.5402, allocations: 67.69 kB / 0.9671 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.5402, allocations: 11.86 kB / 0.9671 GB, free: 15.61 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.5403, allocations: 147.8 kB / 0.9672 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.5404, allocations: 20.34 kB / 0.9673 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.5416, allocations: 0.5642 MB / 0.9678 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.5416, allocations: 4.438 kB / 0.9678 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5416, allocations: 4 kB / 0.9678 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5416, allocations: 1.156 kB / 0.9678 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.5419, allocations: 317.5 kB / 0.9681 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.5419, allocations: 7.938 kB / 0.9681 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/0.5422, allocations: 117.5 kB / 0.9682 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5423, allocations: 1.031 kB / 0.9683 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.5423, allocations: 11.64 kB / 0.9683 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.5423, allocations: 2.094 kB / 0.9683 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.5423, allocations: 0 / 0.9683 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.5434, allocations: 0.558 MB / 0.9688 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.5434, allocations: 98.64 kB / 0.9689 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.5435, allocations: 5.094 kB / 0.9689 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.5437, allocations: 52.92 kB / 0.969 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/0.5439, allocations: 119.8 kB / 0.9691 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.5439, allocations: 11.73 kB / 0.9691 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.361e-05/0.544, allocations: 103 kB / 0.9692 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.544, allocations: 0 / 0.9692 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003348/0.5443, allocations: 121.2 kB / 0.9693 GB, free: 14.28 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001519/0.5458, allocations: 1.176 MB / 0.9704 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.5469, allocations: 0.5223 MB / 0.971 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.547, allocations: 0 / 0.971 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005406/0.5475, allocations: 287 kB / 0.9712 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.5479, allocations: 68.91 kB / 0.9713 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/0.5518, allocations: 2.876 MB / 0.9741 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.552, allocations: 0.735 MB / 0.9748 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003869/0.5524, allocations: 182.2 kB / 0.975 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.5525, allocations: 61.56 kB / 0.9751 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of SimCode: time 1.633e-06/0.5525, allocations: 1.375 kB / 0.9751 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.304/1.856, allocations: 6.771 MB / 0.9817 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/1.857, allocations: 216 kB / 0.9819 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.164/4.021, allocations: 0 / 0.9819 GB, free: 3.559 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches