Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.001588/0.001588, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002617/0.002617, allocations: 208.4 kB / 22.24 MB, free: 5.262 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.55/1.55, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.904/2.904, allocations: 475.9 MB / 0.7699 GB, free: 4.773 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.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_11_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_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [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.002174/0.002174, allocations: 63.97 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4304/0.4326, allocations: 170 MB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.003012/0.4356, allocations: 1.379 MB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004219/0.4398, allocations: 2.768 MB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.471e-05/0.4399, allocations: 4 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.943e-05/0.44, allocations: 11.92 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.4401, allocations: 39.81 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006657/0.4408, allocations: 183.1 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.4411, allocations: 243.5 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.164e-05/0.4411, allocations: 11.92 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.4412, allocations: 91.81 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.4414, allocations: 127.7 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.4414, allocations: 8 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004049/0.4418, allocations: 151.7 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.442, allocations: 83.83 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.4421, allocations: 79.72 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004112/0.4425, allocations: 279 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4425, allocations: 0 / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.737e-06/0.4425, allocations: 7.922 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.4425, allocations: 0 / 1.288 GB, free: 6.504 MB / 0.9825 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.0009167/0.4434, allocations: 469.2 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.4435, allocations: 15.97 kB / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.4436, allocations: 16.84 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.4439, allocations: 178.3 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.449e-05/0.4439, allocations: 24.36 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.444, allocations: 16.38 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006713/0.4446, allocations: 295 kB / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4447, allocations: 0 / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.4447, allocations: 4 kB / 1.289 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.4447, allocations: 4 kB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.4462, allocations: 0.7254 MB / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.4466, allocations: 237 kB / 1.29 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/0.4483, allocations: 0.6324 MB / 1.291 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005161/0.4488, allocations: 216.7 kB / 1.291 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003064/0.4492, allocations: 84.88 kB / 1.291 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.4492, allocations: 34.55 kB / 1.291 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=37): time 1.583e-06/0.4492, allocations: 0 / 1.291 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37): time 0.00172/0.4509, allocations: 0.6526 MB / 1.292 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.451, allocations: 59.34 kB / 1.292 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.4511, allocations: 127.9 kB / 1.292 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.4511, allocations: 37.7 kB / 1.292 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/0.4512, allocations: 88.8 kB / 1.292 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.4513, allocations: 134.8 kB / 1.292 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.996e-05/0.4514, allocations: 65.69 kB / 1.292 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4516, allocations: 330.8 kB / 1.293 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000494/0.452, allocations: 191.6 kB / 1.293 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004909/0.4525, allocations: 201 kB / 1.293 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000922/0.4535, allocations: 364.7 kB / 1.293 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4535, allocations: 0 / 1.293 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001144/0.4546, allocations: 461 kB / 1.294 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.4546, allocations: 7.938 kB / 1.294 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.4546, allocations: 3.938 kB / 1.294 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.4547, allocations: 0 / 1.294 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.455, allocations: 95.91 kB / 1.294 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.4551, allocations: 7.938 kB / 1.294 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.4552, allocations: 43.8 kB / 1.294 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.4553, allocations: 19.92 kB / 1.294 GB, free: 0.5625 MB / 0.9825 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.0001575/0.4554, allocations: 141.8 kB / 1.294 GB, free: 424 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.4555, allocations: 27.73 kB / 1.294 GB, free: 396 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.4568, allocations: 0.5139 MB / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.4568, allocations: 4 kB / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.4568, allocations: 4 kB / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4568, allocations: 0 / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.4572, allocations: 245 kB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4572, allocations: 0 / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003481/0.4575, allocations: 91.86 kB / 1.295 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.4575, allocations: 3.938 kB / 1.295 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.4575, allocations: 15.92 kB / 1.295 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.4575, allocations: 4 kB / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4575, allocations: 0 / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.4587, allocations: 0.4886 MB / 1.295 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/0.4588, allocations: 27.84 kB / 1.295 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.4588, allocations: 7.938 kB / 1.295 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.459, allocations: 35.95 kB / 1.296 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000261/0.4592, allocations: 115.8 kB / 1.296 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.4593, allocations: 23.98 kB / 1.296 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.878e-05/0.4593, allocations: 95.27 kB / 1.296 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.4593, allocations: 0 / 1.296 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004252/0.4598, allocations: 119.7 kB / 1.296 GB, free: 14.55 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.0003648/0.4601, allocations: 186.9 kB / 1.296 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.4613, allocations: 467.3 kB / 1.296 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4613, allocations: 0 / 1.296 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005689/0.4618, allocations: 247.7 kB / 1.297 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.4623, allocations: 71.92 kB / 1.297 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008507/0.4631, allocations: 442.8 kB / 1.297 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.4632, allocations: 118.5 kB / 1.297 GB, free: 13 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004388/0.4637, allocations: 183.4 kB / 1.297 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.4638, allocations: 39.41 kB / 1.298 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.4638, allocations: 0 / 1.298 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of Templates: time 0.01108/0.4749, allocations: 5.698 MB / 1.303 GB, free: 7.203 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.89822617918253]