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: translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 197.8 kB / 16.79 MB, free: 6.809 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.452/1.452, allocations: 222.9 MB / 240.5 MB, free: 4.602 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.341/2.341, allocations: 390.2 MB / 0.6649 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 63.91 kB / 0.8125 GB, free: 14.94 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6276/0.6291, allocations: 140.4 MB / 0.9496 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002322/0.6314, allocations: 1.446 MB / 0.951 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002849/0.6343, allocations: 2.917 MB / 0.9538 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.342e-05/0.6344, allocations: 0 / 0.9538 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.964e-05/0.6345, allocations: 13.02 kB / 0.9538 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.974e-05/0.6346, allocations: 41.88 kB / 0.9539 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/0.635, allocations: 155.9 kB / 0.954 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.6353, allocations: 331.5 kB / 0.9544 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.861e-05/0.6354, allocations: 3.625 kB / 0.9544 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.763e-05/0.6355, allocations: 93 kB / 0.9544 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.6356, allocations: 137.2 kB / 0.9546 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.6356, allocations: 10.47 kB / 0.9546 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003687/0.636, allocations: 152 kB / 0.9547 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.18e-05/0.6361, allocations: 92.41 kB / 0.9548 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.579e-05/0.6362, allocations: 87.33 kB / 0.9549 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.6365, allocations: 191.7 kB / 0.9551 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6365, allocations: 0 / 0.9551 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.001e-06/0.6365, allocations: 4 kB / 0.9551 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.6365, allocations: 0 / 0.9551 GB, free: 4.969 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.0007349/0.6372, allocations: 0.5302 MB / 0.9556 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.6373, allocations: 8.969 kB / 0.9556 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.6374, allocations: 22.25 kB / 0.9556 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.6376, allocations: 236.9 kB / 0.9559 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.598e-05/0.6377, allocations: 28.58 kB / 0.9559 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.6377, allocations: 18.41 kB / 0.9559 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005957/0.6383, allocations: 290.4 kB / 0.9562 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.6383, allocations: 0 / 0.9562 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.6384, allocations: 12 kB / 0.9562 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.6384, allocations: 6.562 kB / 0.9562 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.6398, allocations: 0.7434 MB / 0.9569 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.6401, allocations: 307.1 kB / 0.9572 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.6416, allocations: 0.6735 MB / 0.9579 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/0.6421, allocations: 231.7 kB / 0.9581 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003513/0.6424, allocations: 385.8 kB / 0.9585 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.6424, allocations: 48.41 kB / 0.9585 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 2.255e-06/0.6425, allocations: 3.984 kB / 0.9585 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001547/0.644, allocations: 0.6441 MB / 0.9591 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.644, allocations: 55.81 kB / 0.9592 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.858e-05/0.6441, allocations: 124.8 kB / 0.9593 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.6442, allocations: 32.11 kB / 0.9593 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.839e-05/0.6442, allocations: 94.08 kB / 0.9594 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.336e-05/0.6443, allocations: 129.9 kB / 0.9596 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.231e-05/0.6444, allocations: 65 kB / 0.9596 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.84e-05/0.6444, allocations: 327.7 kB / 0.9599 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/0.6449, allocations: 195 kB / 0.9601 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004365/0.6453, allocations: 195.6 kB / 0.9603 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000801/0.6461, allocations: 370.2 kB / 0.9607 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.6462, allocations: 0 / 0.9607 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009802/0.6471, allocations: 471.8 kB / 0.9611 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.6472, allocations: 5.094 kB / 0.9611 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.6472, allocations: 0 / 0.9611 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.6472, allocations: 1.438 kB / 0.9611 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.6476, allocations: 100.3 kB / 0.9612 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.6476, allocations: 5.156 kB / 0.9612 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.6478, allocations: 46.47 kB / 0.9613 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.6479, allocations: 15.73 kB / 0.9613 GB, free: 0.9258 MB / 0.7169 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.0001134/0.648, allocations: 144.6 kB / 0.9614 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.648, allocations: 19.53 kB / 0.9614 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.6491, allocations: 0.5162 MB / 0.9619 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.6492, allocations: 8.25 kB / 0.9619 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6492, allocations: 0 / 0.9619 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.6492, allocations: 1.156 kB / 0.9619 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.6495, allocations: 324.9 kB / 0.9623 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.6495, allocations: 1.125 kB / 0.9623 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.6498, allocations: 96.17 kB / 0.9623 GB, free: 200 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.6499, allocations: 5.375 kB / 0.9624 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.6499, allocations: 11.61 kB / 0.9624 GB, free: 188 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.6499, allocations: 1.5 kB / 0.9624 GB, free: 188 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.6499, allocations: 3.984 kB / 0.9624 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.6511, allocations: 0.4946 MB / 0.9629 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.6513, allocations: 102.5 kB / 0.963 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.6513, allocations: 6.031 kB / 0.963 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.6515, allocations: 40.17 kB / 0.963 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002519/0.6517, allocations: 115.2 kB / 0.9631 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.6518, allocations: 15.67 kB / 0.9631 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.012e-05/0.6519, allocations: 96.83 kB / 0.9632 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6519, allocations: 0 / 0.9632 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004563/0.6523, allocations: 116.2 kB / 0.9633 GB, free: 15.61 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.0004162/0.6527, allocations: 197.4 kB / 0.9635 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001132/0.6539, allocations: 467 kB / 0.964 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6539, allocations: 0 / 0.964 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006259/0.6545, allocations: 256.3 kB / 0.9642 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.655, allocations: 72.41 kB / 0.9643 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.6561, allocations: 0.5124 MB / 0.9648 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.6565, allocations: 0.7343 MB / 0.9655 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.6566, allocations: 47.5 kB / 0.9655 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.6566, allocations: 3.938 kB / 0.9655 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of Templates: time 0.00817/0.6648, allocations: 4.727 MB / 0.9702 GB, free: 11.7 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (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 & ./Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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