Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 217.4 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.052/3.052, allocations: 0.4892 GB / 0.7951 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,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_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,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_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 70.36 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3319, allocations: 176.1 MB / 1.326 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.003009/0.3349, allocations: 1.383 MB / 1.328 GB, free: 464 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004406/0.3393, allocations: 2.774 MB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.287e-05/0.3394, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.835e-05/0.3395, allocations: 7.938 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.3396, allocations: 35.81 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007347/0.3403, allocations: 191.1 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.3406, allocations: 239.5 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.3407, allocations: 11.94 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.3408, allocations: 99.78 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.3409, allocations: 119.8 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.341, allocations: 8 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004483/0.3414, allocations: 147.8 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.3415, allocations: 87.81 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.3417, allocations: 91.58 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003984/0.3421, allocations: 267.1 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3421, allocations: 0 / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3421, allocations: 0 / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3421, allocations: 4 kB / 1.332 GB, free: 12.38 MB / 1.029 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.0009129/0.343, allocations: 473.1 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.343, allocations: 11.97 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.3432, allocations: 20.84 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.3435, allocations: 174.3 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.302e-05/0.3435, allocations: 28.36 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.3435, allocations: 20.38 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006554/0.3442, allocations: 289.6 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3442, allocations: 0 / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.3442, allocations: 4 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.3442, allocations: 4 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.3457, allocations: 0.7217 MB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.3461, allocations: 236.8 kB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.3479, allocations: 0.6488 MB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005105/0.3484, allocations: 212.7 kB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002907/0.3487, allocations: 83.95 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.3487, allocations: 34.56 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 1.573e-06/0.3487, allocations: 0 / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001799/0.3505, allocations: 0.6585 MB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.3506, allocations: 59.41 kB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.3507, allocations: 122.1 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.3507, allocations: 29.7 kB / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.3508, allocations: 96.78 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.3509, allocations: 130.9 kB / 1.336 GB, free: 8.207 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.938e-05/0.351, allocations: 61.67 kB / 1.336 GB, free: 8.141 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3511, allocations: 330.8 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000501/0.3516, allocations: 203.7 kB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005012/0.3521, allocations: 199.6 kB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009394/0.3531, allocations: 357.2 kB / 1.337 GB, free: 7.062 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3531, allocations: 0 / 1.337 GB, free: 7.062 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001217/0.3543, allocations: 464.4 kB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.3543, allocations: 15.92 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3543, allocations: 0 / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3543, allocations: 0 / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/0.3547, allocations: 99.86 kB / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.3547, allocations: 4 kB / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.3549, allocations: 51.73 kB / 1.337 GB, free: 6.434 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.3549, allocations: 15.98 kB / 1.337 GB, free: 6.418 MB / 1.029 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.0001431/0.3551, allocations: 138.3 kB / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/0.3551, allocations: 23.84 kB / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.3564, allocations: 0.5139 MB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.3564, allocations: 4 kB / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3564, allocations: 3.938 kB / 1.338 GB, free: 5.723 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3564, allocations: 3.984 kB / 1.338 GB, free: 5.719 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003122/0.3567, allocations: 233 kB / 1.338 GB, free: 5.461 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3567, allocations: 4 kB / 1.338 GB, free: 5.457 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000345/0.3571, allocations: 99.84 kB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3571, allocations: 0 / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.3571, allocations: 11.94 kB / 1.338 GB, free: 5.348 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.3571, allocations: 8 kB / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3571, allocations: 0 / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.3583, allocations: 0.4965 MB / 1.339 GB, free: 4.824 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.3e-05/0.3583, allocations: 19.84 kB / 1.339 GB, free: 4.805 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.3584, allocations: 11.92 kB / 1.339 GB, free: 4.793 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.3586, allocations: 31.97 kB / 1.339 GB, free: 4.762 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002448/0.3588, allocations: 123.8 kB / 1.339 GB, free: 4.641 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.3588, allocations: 11.98 kB / 1.339 GB, free: 4.629 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.233e-05/0.3589, allocations: 103.3 kB / 1.339 GB, free: 4.527 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3589, allocations: 4 kB / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003955/0.3593, allocations: 115.8 kB / 1.339 GB, free: 4.41 MB / 1.029 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.0003536/0.3597, allocations: 190.8 kB / 1.339 GB, free: 4.215 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001122/0.3608, allocations: 451.3 kB / 1.34 GB, free: 3.773 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3608, allocations: 0 / 1.34 GB, free: 3.773 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005715/0.3614, allocations: 248.3 kB / 1.34 GB, free: 3.531 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.3618, allocations: 75.92 kB / 1.34 GB, free: 3.457 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009219/0.3627, allocations: 465.3 kB / 1.34 GB, free: 2.969 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.3628, allocations: 114.5 kB / 1.341 GB, free: 2.836 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.363, allocations: 43.41 kB / 1.341 GB, free: 2.793 MB / 1.029 GB Notification: Performance of SimCode: time 7.51e-07/0.363, allocations: 0 / 1.341 GB, free: 2.793 MB / 1.029 GB Notification: Performance of Templates: time 0.008298/0.3713, allocations: 4.853 MB / 1.345 GB, free: 14 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.63668162515387]