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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00107/0.00107, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008575/0.008575, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.369/1.369, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.363/2.363, allocations: 390.9 MB / 0.6663 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.000366, allocations: 8 kB / 0.8159 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7724/0.7728, allocations: 142.4 MB / 0.955 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.0015/0.7744, allocations: 1.111 MB / 0.9561 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003905/0.7783, allocations: 2.885 MB / 0.9589 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.827e-05/0.7784, allocations: 0 / 0.9589 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.322e-05/0.7785, allocations: 5.672 kB / 0.9589 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.7786, allocations: 36.97 kB / 0.959 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006906/0.7793, allocations: 164.9 kB / 0.9591 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003533/0.7797, allocations: 326.4 kB / 0.9594 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.033e-05/0.7797, allocations: 8.125 kB / 0.9594 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.7799, allocations: 85.23 kB / 0.9595 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.7801, allocations: 143.6 kB / 0.9597 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.804e-05/0.7802, allocations: 10.97 kB / 0.9597 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005905/0.7808, allocations: 147.3 kB / 0.9598 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.7809, allocations: 89.53 kB / 0.9599 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.7811, allocations: 120.9 kB / 0.96 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006891/0.7818, allocations: 272.2 kB / 0.9603 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.7819, allocations: 0.9688 kB / 0.9603 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7819, allocations: 0 / 0.9603 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.7819, allocations: 0 / 0.9603 GB, free: 3.73 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.0009919/0.7829, allocations: 0.5222 MB / 0.9608 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.7829, allocations: 13.62 kB / 0.9608 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.7831, allocations: 22.36 kB / 0.9608 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.7834, allocations: 236.8 kB / 0.961 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.113e-05/0.7835, allocations: 27.48 kB / 0.9611 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.7835, allocations: 14 kB / 0.9611 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007431/0.7842, allocations: 324 kB / 0.9614 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.7843, allocations: 4 kB / 0.9614 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.7843, allocations: 5.625 kB / 0.9614 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.7843, allocations: 4.031 kB / 0.9614 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.786, allocations: 0.801 MB / 0.9622 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.7865, allocations: 309.9 kB / 0.9625 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.7882, allocations: 0.7803 MB / 0.9632 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005391/0.7888, allocations: 257.5 kB / 0.9635 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003609/0.7892, allocations: 398.3 kB / 0.9639 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.7892, allocations: 36.34 kB / 0.9639 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 1.643e-06/0.7892, allocations: 0 / 0.9639 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001795/0.791, allocations: 0.7362 MB / 0.9646 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.791, allocations: 63.44 kB / 0.9647 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.776e-05/0.7911, allocations: 125.1 kB / 0.9648 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.7912, allocations: 31.7 kB / 0.9648 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.085e-05/0.7912, allocations: 90.97 kB / 0.9649 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.45e-05/0.7913, allocations: 125.7 kB / 0.965 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.7913, allocations: 35.08 kB / 0.9651 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.304e-05/0.7914, allocations: 327.8 kB / 0.9654 GB, free: 276 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005147/0.7919, allocations: 225.2 kB / 0.9656 GB, free: 192 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005182/0.7924, allocations: 229.3 kB / 0.9658 GB, free: 108 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.7935, allocations: 426.2 kB / 0.9662 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7935, allocations: 0 / 0.9662 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001333/0.7949, allocations: 0.5166 MB / 0.9667 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.7949, allocations: 4.938 kB / 0.9667 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.7949, allocations: 0 / 0.9667 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.7949, allocations: 1.281 kB / 0.9667 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.7953, allocations: 113.5 kB / 0.9668 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.7953, allocations: 2.25 kB / 0.9668 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.7956, allocations: 75.3 kB / 0.9669 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.7956, allocations: 15.8 kB / 0.9669 GB, free: 15.65 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.0001604/0.7958, allocations: 139.6 kB / 0.9671 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.83e-05/0.7958, allocations: 20.12 kB / 0.9671 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/0.7973, allocations: 0.5687 MB / 0.9676 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.7973, allocations: 3.344 kB / 0.9676 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.7973, allocations: 1.469 kB / 0.9676 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.7973, allocations: 0 / 0.9676 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003665/0.7977, allocations: 314.3 kB / 0.9679 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.7977, allocations: 0 / 0.9679 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.7981, allocations: 116.9 kB / 0.9681 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.7981, allocations: 1.438 kB / 0.9681 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/0.7982, allocations: 12.23 kB / 0.9681 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.7982, allocations: 1.25 kB / 0.9681 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7982, allocations: 0 / 0.9681 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.7995, allocations: 0.5542 MB / 0.9686 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.47e-05/0.7996, allocations: 99.02 kB / 0.9687 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.7996, allocations: 9.375 kB / 0.9687 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.7999, allocations: 51.92 kB / 0.9688 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002906/0.8002, allocations: 115.9 kB / 0.9689 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.8002, allocations: 15.94 kB / 0.9689 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.956e-05/0.8003, allocations: 112 kB / 0.969 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8003, allocations: 0 / 0.969 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004369/0.8007, allocations: 117.4 kB / 0.9691 GB, free: 14.33 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.0003685/0.8011, allocations: 188.5 kB / 0.9693 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001306/0.8024, allocations: 0.5187 MB / 0.9698 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.8024, allocations: 0 / 0.9698 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006337/0.8031, allocations: 294 kB / 0.9701 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.8035, allocations: 77.11 kB / 0.9702 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008387/0.8044, allocations: 0.4948 MB / 0.9706 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.8047, allocations: 0.7305 MB / 0.9713 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004485/0.8052, allocations: 190.3 kB / 0.9715 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.614e-05/0.8053, allocations: 36.05 kB / 0.9716 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.8053, allocations: 0 / 0.9716 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of Templates: time 0.009068/0.8144, allocations: 4.843 MB / 0.9763 GB, free: 9.176 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches