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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 114.9 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.00132, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.896/2.896, allocations: 489.3 MB / 0.7687 GB, free: 3.793 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 67.91 kB / 1.103 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8578/0.8597, allocations: 163.8 MB / 1.263 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.00223/0.862, allocations: 1.403 MB / 1.264 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002988/0.865, allocations: 2.901 MB / 1.267 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.858e-05/0.865, allocations: 5.031 kB / 1.267 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.357e-05/0.8651, allocations: 2.953 kB / 1.267 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.8653, allocations: 50.22 kB / 1.267 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005084/0.8658, allocations: 187.6 kB / 1.267 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002913/0.8661, allocations: 239.4 kB / 1.267 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.8661, allocations: 4.234 kB / 1.267 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.877e-05/0.8662, allocations: 99.39 kB / 1.267 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.8664, allocations: 123.1 kB / 1.267 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.8664, allocations: 11.06 kB / 1.267 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003792/0.8668, allocations: 138.2 kB / 1.268 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.867, allocations: 84.48 kB / 1.268 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.8671, allocations: 89.3 kB / 1.268 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004341/0.8675, allocations: 286.6 kB / 1.268 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.8675, allocations: 0 / 1.268 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8675, allocations: 0 / 1.268 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.8675, allocations: 0.7812 kB / 1.268 GB, free: 4.637 MB / 0.9981 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.0007772/0.8683, allocations: 0.5301 MB / 1.269 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.8684, allocations: 14.3 kB / 1.269 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.8685, allocations: 18.75 kB / 1.269 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.8687, allocations: 240 kB / 1.269 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.874e-05/0.8688, allocations: 24.36 kB / 1.269 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.8688, allocations: 13.94 kB / 1.269 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006879/0.8695, allocations: 288.4 kB / 1.269 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.8695, allocations: 0.7812 kB / 1.269 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.8696, allocations: 4.875 kB / 1.269 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.8696, allocations: 3.719 kB / 1.269 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/0.8712, allocations: 0.7563 MB / 1.27 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.8716, allocations: 308 kB / 1.27 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.8733, allocations: 0.6788 MB / 1.271 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005423/0.8738, allocations: 225.6 kB / 1.271 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003331/0.8741, allocations: 396.8 kB / 1.271 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.8742, allocations: 41.09 kB / 1.271 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 1.643e-06/0.8742, allocations: 0 / 1.271 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.001699/0.8759, allocations: 0.6539 MB / 1.272 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.8759, allocations: 55.12 kB / 1.272 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.288e-05/0.876, allocations: 127.6 kB / 1.272 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.8761, allocations: 31.02 kB / 1.272 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.127e-05/0.8761, allocations: 92.7 kB / 1.272 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.349e-05/0.8762, allocations: 131.4 kB / 1.273 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.899e-05/0.8763, allocations: 59.38 kB / 1.273 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.351e-05/0.8764, allocations: 328.8 kB / 1.273 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004867/0.8768, allocations: 203.3 kB / 1.273 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004685/0.8773, allocations: 194.5 kB / 1.273 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008924/0.8782, allocations: 364.8 kB / 1.274 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8782, allocations: 1.062 kB / 1.274 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001026/0.8793, allocations: 465.6 kB / 1.274 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.8793, allocations: 10.17 kB / 1.274 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.8793, allocations: 4 kB / 1.274 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.8793, allocations: 1.625 kB / 1.274 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/0.8797, allocations: 98.72 kB / 1.274 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.8797, allocations: 2.062 kB / 1.274 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.8799, allocations: 48.3 kB / 1.274 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.88, allocations: 15.67 kB / 1.274 GB, free: 1.73 MB / 0.9981 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.000104/0.8801, allocations: 143.5 kB / 1.274 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.8801, allocations: 19.72 kB / 1.274 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.8814, allocations: 0.5199 MB / 1.275 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.8814, allocations: 3.469 kB / 1.275 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.8814, allocations: 5.344 kB / 1.275 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.8814, allocations: 1.875 kB / 1.275 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.8817, allocations: 306.5 kB / 1.275 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.8817, allocations: 0 / 1.275 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003338/0.882, allocations: 105.9 kB / 1.275 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.882, allocations: 5.406 kB / 1.275 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.8821, allocations: 11.17 kB / 1.275 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.8821, allocations: 2.094 kB / 1.275 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8821, allocations: 0 / 1.275 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.8832, allocations: 0.4901 MB / 1.276 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.8832, allocations: 99.94 kB / 1.276 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.8833, allocations: 6.344 kB / 1.276 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.8835, allocations: 41.52 kB / 1.276 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002378/0.8837, allocations: 117.5 kB / 1.276 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.8837, allocations: 11.03 kB / 1.276 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.714e-05/0.8838, allocations: 102.5 kB / 1.276 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8838, allocations: 0 / 1.276 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003953/0.8842, allocations: 118.8 kB / 1.276 GB, free: 0.793 MB / 0.9981 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.0002914/0.8845, allocations: 192.3 kB / 1.276 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.8856, allocations: 479.3 kB / 1.277 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8856, allocations: 0 / 1.277 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000522/0.8861, allocations: 261.5 kB / 1.277 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.8865, allocations: 75 kB / 1.277 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007414/0.8872, allocations: 466.8 kB / 1.278 GB, free: 272 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.8876, allocations: 0.7306 MB / 1.278 GB, free: 15.57 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.8877, allocations: 45.12 kB / 1.278 GB, free: 15.56 MB / 1.014 GB Notification: Performance of SimCode: time 2.5e-07/0.8877, allocations: 0 / 1.278 GB, free: 15.56 MB / 1.014 GB Notification: Performance of Templates: time 0.008465/0.8962, allocations: 4.764 MB / 1.283 GB, free: 15.07 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.496618031989783]