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.001668/0.001668, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.001997/0.001997, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.415/1.415, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.833/2.833, allocations: 0.49 GB / 0.7923 GB, free: 1.336 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.002059/0.002059, allocations: 63.89 kB / 1.15 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8089/0.811, allocations: 176.1 MB / 1.322 GB, free: 25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002012/0.813, allocations: 1.4 MB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003096/0.8161, allocations: 2.965 MB / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.769e-05/0.8161, allocations: 6.656 kB / 1.326 GB, free: 21.87 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.835e-05/0.8162, allocations: 7.078 kB / 1.326 GB, free: 21.87 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.8163, allocations: 50.19 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005441/0.8169, allocations: 186.9 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000233/0.8171, allocations: 237.1 kB / 1.327 GB, free: 21.67 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.101e-05/0.8171, allocations: 3.188 kB / 1.327 GB, free: 21.67 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.663e-05/0.8172, allocations: 92.39 kB / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.8174, allocations: 127.3 kB / 1.327 GB, free: 21.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.8174, allocations: 15.03 kB / 1.327 GB, free: 21.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003179/0.8177, allocations: 148 kB / 1.327 GB, free: 21.54 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.848e-05/0.8178, allocations: 92.03 kB / 1.327 GB, free: 21.51 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.8179, allocations: 83.88 kB / 1.327 GB, free: 21.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.8183, allocations: 274.2 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8183, allocations: 0 / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8183, allocations: 1.281 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.8183, allocations: 0 / 1.327 GB, free: 21.39 MB / 1.061 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.000789/0.8191, allocations: 0.533 MB / 1.328 GB, free: 20.95 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.8192, allocations: 17.2 kB / 1.328 GB, free: 20.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.8193, allocations: 21.72 kB / 1.328 GB, free: 20.94 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.8195, allocations: 249.2 kB / 1.328 GB, free: 20.7 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.443e-05/0.8195, allocations: 24.31 kB / 1.328 GB, free: 20.7 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.8196, allocations: 13.34 kB / 1.328 GB, free: 20.7 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006307/0.8202, allocations: 290.4 kB / 1.329 GB, free: 20.61 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.8202, allocations: 0 / 1.329 GB, free: 20.61 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.8202, allocations: 5.812 kB / 1.329 GB, free: 20.61 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.8202, allocations: 3.875 kB / 1.329 GB, free: 20.61 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.8218, allocations: 0.7516 MB / 1.329 GB, free: 20.54 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.8221, allocations: 309.9 kB / 1.33 GB, free: 20.29 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.8238, allocations: 0.6453 MB / 1.33 GB, free: 20.14 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004979/0.8242, allocations: 217.7 kB / 1.33 GB, free: 20.09 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003284/0.8246, allocations: 386.4 kB / 1.331 GB, free: 19.71 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.8246, allocations: 41.53 kB / 1.331 GB, free: 19.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=37): time 1.313e-06/0.8246, allocations: 0 / 1.331 GB, free: 19.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=37): time 0.001662/0.8263, allocations: 0.6575 MB / 1.331 GB, free: 19.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.8263, allocations: 55.72 kB / 1.332 GB, free: 19.45 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.889e-05/0.8264, allocations: 126.5 kB / 1.332 GB, free: 19.35 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.8264, allocations: 30.77 kB / 1.332 GB, free: 19.31 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.442e-05/0.8264, allocations: 92.28 kB / 1.332 GB, free: 19.22 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.263e-05/0.8265, allocations: 129.5 kB / 1.332 GB, free: 19.12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.782e-05/0.8266, allocations: 66.42 kB / 1.332 GB, free: 19.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.753e-05/0.8266, allocations: 329.4 kB / 1.332 GB, free: 18.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005052/0.8271, allocations: 193.2 kB / 1.332 GB, free: 18.74 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.8276, allocations: 200.4 kB / 1.333 GB, free: 18.71 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009429/0.8286, allocations: 363.5 kB / 1.333 GB, free: 18.64 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.8286, allocations: 0.8125 kB / 1.333 GB, free: 18.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001279/0.8299, allocations: 471 kB / 1.333 GB, free: 18.52 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.8299, allocations: 5.219 kB / 1.333 GB, free: 18.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.8299, allocations: 0.5938 kB / 1.333 GB, free: 18.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.8299, allocations: 2.047 kB / 1.333 GB, free: 18.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004321/0.8303, allocations: 93.77 kB / 1.334 GB, free: 18.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.8304, allocations: 1.969 kB / 1.334 GB, free: 18.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.8306, allocations: 56.55 kB / 1.334 GB, free: 18.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/0.8306, allocations: 15.56 kB / 1.334 GB, free: 18.49 MB / 1.061 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.0001127/0.8307, allocations: 138.2 kB / 1.334 GB, free: 18.37 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.096e-05/0.8308, allocations: 21.56 kB / 1.334 GB, free: 18.36 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.8321, allocations: 0.5167 MB / 1.334 GB, free: 18.2 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.8321, allocations: 5 kB / 1.334 GB, free: 18.2 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.8321, allocations: 3.938 kB / 1.334 GB, free: 18.2 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.8321, allocations: 2.344 kB / 1.334 GB, free: 18.2 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.8324, allocations: 322 kB / 1.335 GB, free: 17.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.8324, allocations: 0.6094 kB / 1.335 GB, free: 17.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003353/0.8327, allocations: 96.86 kB / 1.335 GB, free: 17.94 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.8327, allocations: 3.406 kB / 1.335 GB, free: 17.94 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.8327, allocations: 13.66 kB / 1.335 GB, free: 17.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.8327, allocations: 2.75 kB / 1.335 GB, free: 17.93 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.8327, allocations: 0.6562 kB / 1.335 GB, free: 17.93 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.8338, allocations: 0.4926 MB / 1.335 GB, free: 17.78 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.773e-05/0.8339, allocations: 107.1 kB / 1.335 GB, free: 17.66 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.8339, allocations: 7.406 kB / 1.335 GB, free: 17.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.8341, allocations: 33.42 kB / 1.335 GB, free: 17.66 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002403/0.8343, allocations: 118.5 kB / 1.335 GB, free: 17.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.8344, allocations: 19.2 kB / 1.335 GB, free: 17.64 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.82e-05/0.8344, allocations: 97.5 kB / 1.336 GB, free: 17.56 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.8344, allocations: 4 kB / 1.336 GB, free: 17.56 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004221/0.8348, allocations: 115.7 kB / 1.336 GB, free: 17.54 MB / 1.061 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.0002943/0.8351, allocations: 184.1 kB / 1.336 GB, free: 17.42 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001103/0.8362, allocations: 459.7 kB / 1.336 GB, free: 17.35 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.8362, allocations: 0 / 1.336 GB, free: 17.35 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005364/0.8368, allocations: 250.1 kB / 1.337 GB, free: 17.3 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.8372, allocations: 86.94 kB / 1.337 GB, free: 17.27 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007047/0.8379, allocations: 463.4 kB / 1.337 GB, free: 17.03 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.838, allocations: 0.7303 MB / 1.338 GB, free: 16.33 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.8381, allocations: 53.28 kB / 1.338 GB, free: 16.31 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.8381, allocations: 0 / 1.338 GB, free: 16.31 MB / 1.061 GB Notification: Performance of Templates: time 0.007818/0.8459, allocations: 4.766 MB / 1.342 GB, free: 15.82 MB / 1.061 GB " [Timeout remaining time 299] 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.871504031994846]