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.001845/0.001845, allocations: 110 kB / 16.46 MB, free: 6.453 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.002121/0.002121, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.577/1.577, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.326/3.326, allocations: 0.4899 GB / 0.7915 GB, free: 33.44 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.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.002123/0.002123, allocations: 67.2 kB / 1.149 GB, free: 26.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.4182, allocations: 176.1 MB / 1.321 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002597/0.4208, allocations: 1.405 MB / 1.323 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004146/0.4249, allocations: 2.973 MB / 1.326 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.607e-05/0.4249, allocations: 0 / 1.326 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.771e-05/0.425, allocations: 7.922 kB / 1.326 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.4251, allocations: 39.81 kB / 1.326 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005551/0.4257, allocations: 183.1 kB / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.426, allocations: 243.5 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.426, allocations: 7.938 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.4261, allocations: 91.84 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.4263, allocations: 127.7 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.4263, allocations: 12 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003866/0.4267, allocations: 147.8 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.4268, allocations: 87.77 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.4269, allocations: 91.62 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005137/0.4275, allocations: 267.1 kB / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4275, allocations: 4 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4275, allocations: 0 / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.4275, allocations: 4 kB / 1.327 GB, free: 13.16 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.001072/0.4285, allocations: 0.5296 MB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.4286, allocations: 15.98 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.4287, allocations: 16.84 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.429, allocations: 244.6 kB / 1.328 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.999e-05/0.4291, allocations: 24.36 kB / 1.328 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.4291, allocations: 16.38 kB / 1.328 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006776/0.4298, allocations: 293.2 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.4298, allocations: 3.938 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/0.4298, allocations: 8 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.4298, allocations: 4 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.4315, allocations: 0.7467 MB / 1.329 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.4319, allocations: 321 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.4337, allocations: 0.6363 MB / 1.33 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005395/0.4342, allocations: 212.7 kB / 1.33 GB, free: 9.953 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004588/0.4347, allocations: 392.3 kB / 1.33 GB, free: 9.496 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.4347, allocations: 46.5 kB / 1.33 GB, free: 9.441 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 1.723e-06/0.4347, allocations: 3.938 kB / 1.33 GB, free: 9.438 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001743/0.4365, allocations: 0.6457 MB / 1.331 GB, free: 8.785 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.4365, allocations: 55.41 kB / 1.331 GB, free: 8.719 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.4366, allocations: 127.7 kB / 1.331 GB, free: 8.586 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.4367, allocations: 29.7 kB / 1.331 GB, free: 8.551 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/0.4368, allocations: 96.8 kB / 1.331 GB, free: 8.453 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.4369, allocations: 134.8 kB / 1.331 GB, free: 8.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.437, allocations: 69.67 kB / 1.331 GB, free: 8.246 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.4372, allocations: 322.8 kB / 1.332 GB, free: 7.922 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005164/0.4377, allocations: 195.8 kB / 1.332 GB, free: 7.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000503/0.4382, allocations: 199.6 kB / 1.332 GB, free: 7.535 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009553/0.4391, allocations: 366.1 kB / 1.332 GB, free: 7.176 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.4392, allocations: 4 kB / 1.332 GB, free: 7.172 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001211/0.4404, allocations: 460.7 kB / 1.333 GB, free: 6.715 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.4404, allocations: 8 kB / 1.333 GB, free: 6.707 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.4404, allocations: 0 / 1.333 GB, free: 6.707 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.4404, allocations: 0 / 1.333 GB, free: 6.707 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/0.4408, allocations: 103.8 kB / 1.333 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.4408, allocations: 4 kB / 1.333 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.441, allocations: 47.8 kB / 1.333 GB, free: 6.555 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.441, allocations: 12 kB / 1.333 GB, free: 6.543 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.000146/0.4412, allocations: 141.8 kB / 1.333 GB, free: 6.395 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.4412, allocations: 23.84 kB / 1.333 GB, free: 6.371 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.4425, allocations: 0.5236 MB / 1.334 GB, free: 5.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.4425, allocations: 11.98 kB / 1.334 GB, free: 5.828 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4425, allocations: 0 / 1.334 GB, free: 5.828 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.4425, allocations: 7.922 kB / 1.334 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003714/0.4429, allocations: 313.3 kB / 1.334 GB, free: 5.465 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4429, allocations: 0 / 1.334 GB, free: 5.465 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003454/0.4432, allocations: 99.8 kB / 1.334 GB, free: 5.367 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.4432, allocations: 4 kB / 1.334 GB, free: 5.363 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.4433, allocations: 11.98 kB / 1.334 GB, free: 5.352 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4433, allocations: 4 kB / 1.334 GB, free: 5.348 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4433, allocations: 0 / 1.334 GB, free: 5.348 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.4444, allocations: 496.1 kB / 1.334 GB, free: 4.844 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-05/0.4445, allocations: 100.9 kB / 1.335 GB, free: 4.727 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.4446, allocations: 4 kB / 1.335 GB, free: 4.723 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.4447, allocations: 39.95 kB / 1.335 GB, free: 4.684 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002387/0.445, allocations: 119.8 kB / 1.335 GB, free: 4.566 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.445, allocations: 11.98 kB / 1.335 GB, free: 4.555 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.77e-05/0.4451, allocations: 107.2 kB / 1.335 GB, free: 4.449 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4451, allocations: 0 / 1.335 GB, free: 4.449 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004152/0.4455, allocations: 123.7 kB / 1.335 GB, free: 4.328 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.0003588/0.4459, allocations: 186.9 kB / 1.335 GB, free: 4.137 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001179/0.447, allocations: 463.6 kB / 1.336 GB, free: 3.684 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.447, allocations: 0 / 1.336 GB, free: 3.684 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005669/0.4476, allocations: 243.5 kB / 1.336 GB, free: 3.445 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.448, allocations: 71.92 kB / 1.336 GB, free: 3.375 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008148/0.4488, allocations: 426.3 kB / 1.336 GB, free: 2.934 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.4492, allocations: 0.7328 MB / 1.337 GB, free: 2.176 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004014/0.4496, allocations: 181.8 kB / 1.337 GB, free: 2 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.4497, allocations: 39.41 kB / 1.337 GB, free: 1.961 MB / 1.029 GB Notification: Performance of SimCode: time 6.41e-07/0.4497, allocations: 0 / 1.337 GB, free: 1.961 MB / 1.029 GB Notification: Performance of Templates: time 0.01071/0.4605, allocations: 5.355 MB / 1.342 GB, free: 12.67 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/jenkins/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: 9.710172752849758]