Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.EthyleneGlycolWater,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_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,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_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008015/0.008015, allocations: 103.3 kB / 15.73 MB, free: 6.043 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.001652/0.001652, allocations: 189 kB / 16.67 MB, free: 5.957 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.547/2.547, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 64.11 kB / 1.054 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9159/0.9171, allocations: 157.4 MB / 1.208 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002235/0.9194, allocations: 1.369 MB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003448/0.9229, allocations: 2.913 MB / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.108e-05/0.9229, allocations: 4 kB / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.738e-05/0.923, allocations: 7.922 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.9232, allocations: 47.81 kB / 1.212 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005432/0.9237, allocations: 179.1 kB / 1.212 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.924, allocations: 239.5 kB / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.924, allocations: 11.98 kB / 1.212 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.573e-05/0.9241, allocations: 91.78 kB / 1.212 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.9243, allocations: 123.8 kB / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.9243, allocations: 12 kB / 1.213 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003394/0.9246, allocations: 131.9 kB / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.9248, allocations: 95.75 kB / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.619e-05/0.9249, allocations: 83.64 kB / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003652/0.9252, allocations: 276.9 kB / 1.213 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.9252, allocations: 0 / 1.213 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9252, allocations: 0 / 1.213 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.9253, allocations: 0 / 1.213 GB, free: 7.977 MB / 0.9356 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.0008842/0.9261, allocations: 0.5378 MB / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.9262, allocations: 8.031 kB / 1.214 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.9263, allocations: 20.75 kB / 1.214 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.9266, allocations: 243.1 kB / 1.214 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-05/0.9266, allocations: 24.36 kB / 1.214 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.9267, allocations: 20.31 kB / 1.214 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006239/0.9273, allocations: 285.3 kB / 1.214 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.9273, allocations: 0 / 1.214 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.9273, allocations: 8 kB / 1.214 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.9273, allocations: 4 kB / 1.214 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.9288, allocations: 0.7506 MB / 1.215 GB, free: 6 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.9291, allocations: 309.1 kB / 1.215 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.9308, allocations: 0.6754 MB / 1.216 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005081/0.9314, allocations: 232.6 kB / 1.216 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004041/0.9318, allocations: 388.4 kB / 1.217 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.9318, allocations: 42.44 kB / 1.217 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 1.573e-06/0.9318, allocations: 0 / 1.217 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.001644/0.9335, allocations: 0.6573 MB / 1.217 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.9335, allocations: 55.41 kB / 1.217 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.713e-05/0.9336, allocations: 122.1 kB / 1.217 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.9337, allocations: 33.7 kB / 1.217 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.9337, allocations: 84.8 kB / 1.218 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.9338, allocations: 130.1 kB / 1.218 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.9339, allocations: 69.69 kB / 1.218 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.9341, allocations: 326.8 kB / 1.218 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004871/0.9346, allocations: 195.7 kB / 1.218 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004805/0.9351, allocations: 203.8 kB / 1.218 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008885/0.936, allocations: 361.9 kB / 1.219 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/0.936, allocations: 4 kB / 1.219 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001069/0.9371, allocations: 468.6 kB / 1.219 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.9371, allocations: 4 kB / 1.219 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.9371, allocations: 0 / 1.219 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.9371, allocations: 7.938 kB / 1.219 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/0.9375, allocations: 95.86 kB / 1.219 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.9375, allocations: 4 kB / 1.219 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.9377, allocations: 51.73 kB / 1.219 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.9377, allocations: 15.97 kB / 1.219 GB, free: 1.316 MB / 0.9356 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.0001187/0.9378, allocations: 141.8 kB / 1.219 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.9379, allocations: 23.75 kB / 1.22 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.9391, allocations: 0.5103 MB / 1.22 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.9391, allocations: 4 kB / 1.22 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.9391, allocations: 4 kB / 1.22 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.9391, allocations: 0 / 1.22 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.9395, allocations: 317.2 kB / 1.22 GB, free: 272 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.9395, allocations: 0 / 1.22 GB, free: 272 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/0.9398, allocations: 103.8 kB / 1.22 GB, free: 168 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.9398, allocations: 0 / 1.22 GB, free: 168 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.9398, allocations: 11.98 kB / 1.22 GB, free: 156 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.9399, allocations: 0 / 1.22 GB, free: 156 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.9399, allocations: 4 kB / 1.22 GB, free: 152 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.9409, allocations: 0.4883 MB / 1.221 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.816e-05/0.941, allocations: 100.7 kB / 1.221 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.9411, allocations: 8 kB / 1.221 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.9412, allocations: 35.95 kB / 1.221 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/0.9415, allocations: 123.7 kB / 1.221 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.9415, allocations: 11.98 kB / 1.221 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.016e-05/0.9416, allocations: 105.6 kB / 1.221 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9416, allocations: 3.938 kB / 1.221 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003741/0.942, allocations: 111.9 kB / 1.221 GB, free: 15.13 MB / 0.9512 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.0003254/0.9423, allocations: 195 kB / 1.222 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00111/0.9434, allocations: 467.7 kB / 1.222 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.9434, allocations: 4 kB / 1.222 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005698/0.944, allocations: 259.7 kB / 1.222 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.9444, allocations: 81.33 kB / 1.222 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007919/0.9452, allocations: 418.4 kB / 1.223 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.9456, allocations: 0.7367 MB / 1.223 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004129/0.946, allocations: 192.5 kB / 1.224 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.9461, allocations: 35.42 kB / 1.224 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of SimCode: time 2.71e-07/0.9462, allocations: 3.938 kB / 1.224 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of Templates: time 0.009277/0.9554, allocations: 5.38 MB / 1.229 GB, free: 7.406 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches