Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001454/0.001454, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001602/0.001602, allocations: 211.5 kB / 22.99 MB, free: 4.957 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.409/3.409, allocations: 0.49 GB / 0.7959 GB, free: 35.71 MB / 0.6231 GB " [Timeout remaining time 176] 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.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_12_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_12_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.00206/0.00206, allocations: 70.02 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4099, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.003873/0.4138, allocations: 1.383 MB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005892/0.4197, allocations: 2.77 MB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.966e-05/0.4198, allocations: 7.938 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.4199, allocations: 7.984 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.42, allocations: 35.8 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008726/0.4209, allocations: 195.1 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003962/0.4213, allocations: 243.5 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.098e-05/0.4213, allocations: 3.938 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.4215, allocations: 95.8 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.4217, allocations: 131.7 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.395e-05/0.4218, allocations: 12 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005511/0.4223, allocations: 151.8 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.4224, allocations: 83.77 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.4226, allocations: 83.7 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006789/0.4233, allocations: 275.1 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.4233, allocations: 0 / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4233, allocations: 0 / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.4233, allocations: 4 kB / 1.332 GB, free: 11.51 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.001194/0.4245, allocations: 469.1 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.892e-05/0.4245, allocations: 12.03 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.4247, allocations: 20.83 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.4251, allocations: 175.7 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.461e-05/0.4252, allocations: 24.36 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.559e-05/0.4252, allocations: 16.38 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000939/0.4262, allocations: 297.6 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4262, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.4262, allocations: 8 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.4262, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002413/0.4286, allocations: 0.7256 MB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005422/0.4292, allocations: 232.8 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002439/0.4316, allocations: 0.6479 MB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007146/0.4323, allocations: 204.7 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004305/0.4327, allocations: 91.92 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/0.4328, allocations: 42.56 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 2.815e-06/0.4328, allocations: 0 / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.002527/0.4353, allocations: 0.6507 MB / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.4354, allocations: 55.41 kB / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.4356, allocations: 132.4 kB / 1.336 GB, free: 7.602 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.4356, allocations: 33.64 kB / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.4357, allocations: 96.78 kB / 1.336 GB, free: 7.465 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.4359, allocations: 126.9 kB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.436, allocations: 69.67 kB / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0003015/0.4363, allocations: 326.8 kB / 1.337 GB, free: 6.938 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007692/0.4371, allocations: 191.8 kB / 1.337 GB, free: 6.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007073/0.4378, allocations: 207.6 kB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.4392, allocations: 353.2 kB / 1.337 GB, free: 6.199 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.4392, allocations: 0 / 1.337 GB, free: 6.199 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001675/0.4409, allocations: 472.4 kB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.4409, allocations: 7.938 kB / 1.338 GB, free: 5.723 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.4409, allocations: 0 / 1.338 GB, free: 5.723 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.4409, allocations: 4 kB / 1.338 GB, free: 5.719 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00054/0.4415, allocations: 103.8 kB / 1.338 GB, free: 5.617 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.4415, allocations: 0 / 1.338 GB, free: 5.617 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.4418, allocations: 55.73 kB / 1.338 GB, free: 5.562 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.4418, allocations: 8 kB / 1.338 GB, free: 5.555 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.000207/0.442, allocations: 142.3 kB / 1.338 GB, free: 5.406 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.449e-05/0.4421, allocations: 19.84 kB / 1.338 GB, free: 5.387 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/0.444, allocations: 0.5102 MB / 1.339 GB, free: 4.867 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.444, allocations: 4 kB / 1.339 GB, free: 4.863 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.444, allocations: 0 / 1.339 GB, free: 4.863 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.444, allocations: 7.984 kB / 1.339 GB, free: 4.855 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005257/0.4445, allocations: 237 kB / 1.339 GB, free: 4.594 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4445, allocations: 0 / 1.339 GB, free: 4.594 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005031/0.445, allocations: 91.86 kB / 1.339 GB, free: 4.504 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.4451, allocations: 0 / 1.339 GB, free: 4.504 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.246e-05/0.4451, allocations: 19.92 kB / 1.339 GB, free: 4.484 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.4451, allocations: 4 kB / 1.339 GB, free: 4.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.4451, allocations: 0 / 1.339 GB, free: 4.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.4469, allocations: 0.4965 MB / 1.34 GB, free: 3.965 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.4469, allocations: 15.84 kB / 1.34 GB, free: 3.949 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.807e-05/0.447, allocations: 15.94 kB / 1.34 GB, free: 3.934 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.4472, allocations: 35.95 kB / 1.34 GB, free: 3.898 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003593/0.4476, allocations: 119.8 kB / 1.34 GB, free: 3.781 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/0.4476, allocations: 15.94 kB / 1.34 GB, free: 3.766 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000109/0.4477, allocations: 99.25 kB / 1.34 GB, free: 3.668 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4477, allocations: 0 / 1.34 GB, free: 3.668 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006339/0.4484, allocations: 115.8 kB / 1.34 GB, free: 3.555 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.0005067/0.4489, allocations: 194.9 kB / 1.34 GB, free: 3.355 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001718/0.4506, allocations: 451.3 kB / 1.341 GB, free: 2.914 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4506, allocations: 0 / 1.341 GB, free: 2.914 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009209/0.4515, allocations: 252.3 kB / 1.341 GB, free: 2.668 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006225/0.4521, allocations: 87 kB / 1.341 GB, free: 2.586 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.4533, allocations: 427.6 kB / 1.341 GB, free: 2.141 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.4534, allocations: 118.5 kB / 1.341 GB, free: 2.004 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006351/0.4541, allocations: 187.7 kB / 1.342 GB, free: 1.824 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.4542, allocations: 39.42 kB / 1.342 GB, free: 1.785 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.4542, allocations: 0 / 1.342 GB, free: 1.785 MB / 1.029 GB Notification: Performance of Templates: time 0.01616/0.4704, allocations: 5.814 MB / 1.347 GB, free: 12.08 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.95155165399774]