Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.001285/0.001285, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001385/0.001385, allocations: 215.1 kB / 22.26 MB, free: 5.082 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.392/1.392, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.145/3.145, allocations: 0.5096 GB / 0.8147 GB, free: 17.2 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties") [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.001995/0.001995, allocations: 62.03 kB / 1.184 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3333, allocations: 181.4 MB / 1.361 GB, free: 60 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005967/0.3392, allocations: 4.533 MB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002886/0.3421, allocations: 2.722 MB / 1.369 GB, free: 8.758 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.92e-05/0.3422, allocations: 4 kB / 1.369 GB, free: 8.754 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.3424, allocations: 51.67 kB / 1.369 GB, free: 8.703 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.3427, allocations: 107.3 kB / 1.369 GB, free: 8.598 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.3438, allocations: 0.4966 MB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000259/0.344, allocations: 239.9 kB / 1.369 GB, free: 7.867 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.808e-05/0.3441, allocations: 9.734 kB / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.3451, allocations: 0.4928 MB / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.3453, allocations: 95.59 kB / 1.37 GB, free: 7.27 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.3453, allocations: 8 kB / 1.37 GB, free: 7.262 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.3463, allocations: 0.5614 MB / 1.371 GB, free: 6.699 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.211e-05/0.3464, allocations: 27.91 kB / 1.371 GB, free: 6.672 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.641e-05/0.3465, allocations: 83.59 kB / 1.371 GB, free: 6.59 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005301/0.347, allocations: 354.9 kB / 1.371 GB, free: 6.242 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.347, allocations: 4 kB / 1.371 GB, free: 6.238 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.282e-06/0.347, allocations: 4 kB / 1.371 GB, free: 6.234 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.347, allocations: 0 / 1.371 GB, free: 6.234 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007107/0.3477, allocations: 449.3 kB / 1.371 GB, free: 5.762 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.3478, allocations: 8.031 kB / 1.371 GB, free: 5.754 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.3479, allocations: 24.83 kB / 1.371 GB, free: 5.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.3482, allocations: 150.3 kB / 1.372 GB, free: 5.559 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.3482, allocations: 16.69 kB / 1.372 GB, free: 5.543 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.3482, allocations: 16.38 kB / 1.372 GB, free: 5.527 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003713/0.3486, allocations: 261.1 kB / 1.372 GB, free: 5.25 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3486, allocations: 0 / 1.372 GB, free: 5.25 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.3486, allocations: 8 kB / 1.372 GB, free: 5.242 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.3487, allocations: 4 kB / 1.372 GB, free: 5.238 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004874/0.3491, allocations: 443.5 kB / 1.372 GB, free: 4.805 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.3502, allocations: 0.9873 MB / 1.373 GB, free: 3.73 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.3505, allocations: 155 kB / 1.373 GB, free: 3.57 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.315e-05/0.3506, allocations: 52.89 kB / 1.373 GB, free: 3.516 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006911/0.3513, allocations: 455.9 kB / 1.374 GB, free: 3.051 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.3513, allocations: 34.56 kB / 1.374 GB, free: 3.008 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.142e-06/0.3513, allocations: 7.938 kB / 1.374 GB, free: 3 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003172/0.3516, allocations: 141.6 kB / 1.374 GB, free: 2.855 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.3516, allocations: 63.22 kB / 1.374 GB, free: 2.781 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.3518, allocations: 177.1 kB / 1.374 GB, free: 2.594 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.3518, allocations: 25.7 kB / 1.374 GB, free: 2.562 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.93e-05/0.3519, allocations: 144.1 kB / 1.374 GB, free: 2.418 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.352, allocations: 59.48 kB / 1.375 GB, free: 2.359 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-05/0.352, allocations: 49.7 kB / 1.375 GB, free: 2.305 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3521, allocations: 326.8 kB / 1.375 GB, free: 1.977 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.476e-05/0.3522, allocations: 35.98 kB / 1.375 GB, free: 1.941 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.3523, allocations: 141.7 kB / 1.375 GB, free: 1.754 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.3526, allocations: 196.3 kB / 1.375 GB, free: 1.516 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3526, allocations: 4 kB / 1.375 GB, free: 1.512 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003128/0.3529, allocations: 217.1 kB / 1.375 GB, free: 1.293 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3529, allocations: 8.469 kB / 1.375 GB, free: 1.285 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3529, allocations: 8 kB / 1.375 GB, free: 1.277 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.3529, allocations: 4 kB / 1.375 GB, free: 1.273 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.3531, allocations: 59.84 kB / 1.376 GB, free: 1.215 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.3531, allocations: 8 kB / 1.376 GB, free: 1.207 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.3532, allocations: 27.72 kB / 1.376 GB, free: 1.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.3532, allocations: 16 kB / 1.376 GB, free: 1.164 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001166/0.3533, allocations: 129.8 kB / 1.376 GB, free: 1.027 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.3534, allocations: 19.89 kB / 1.376 GB, free: 1.008 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/0.3537, allocations: 160.8 kB / 1.376 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.3537, allocations: 7.938 kB / 1.376 GB, free: 0.8359 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3537, allocations: 0 / 1.376 GB, free: 0.8359 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3537, allocations: 0 / 1.376 GB, free: 0.8359 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.3539, allocations: 188.6 kB / 1.376 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3539, allocations: 0 / 1.376 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.472e-05/0.354, allocations: 23.98 kB / 1.376 GB, free: 0.5859 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.354, allocations: 0 / 1.376 GB, free: 0.5859 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.354, allocations: 8 kB / 1.376 GB, free: 0.5781 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.354, allocations: 3.938 kB / 1.376 GB, free: 0.5742 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.354, allocations: 0 / 1.376 GB, free: 0.5742 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.3542, allocations: 215.4 kB / 1.376 GB, free: 356 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.3543, allocations: 31.81 kB / 1.376 GB, free: 324 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.3543, allocations: 8 kB / 1.376 GB, free: 316 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.3545, allocations: 23.89 kB / 1.376 GB, free: 292 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.293e-05/0.3546, allocations: 15.92 kB / 1.376 GB, free: 276 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.3546, allocations: 8 kB / 1.376 GB, free: 268 kB / 1.061 GB Notification: Performance of sorting global known variables: time 8.545e-05/0.3547, allocations: 120 kB / 1.377 GB, free: 148 kB / 1.061 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3547, allocations: 3.938 kB / 1.377 GB, free: 144 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003602/0.355, allocations: 83.86 kB / 1.377 GB, free: 60 kB / 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002879/0.3553, allocations: 178.9 kB / 1.377 GB, free: 15.88 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002159/0.3555, allocations: 114.8 kB / 1.377 GB, free: 15.77 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3555, allocations: 0 / 1.377 GB, free: 15.77 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.464e-05/0.3556, allocations: 43.92 kB / 1.377 GB, free: 15.72 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.356, allocations: 55.95 kB / 1.377 GB, free: 15.67 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006461/0.3566, allocations: 352.2 kB / 1.377 GB, free: 15.3 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.3569, allocations: 0.7168 MB / 1.378 GB, free: 14.55 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.00013/0.3571, allocations: 41.75 kB / 1.378 GB, free: 14.51 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.3571, allocations: 23.42 kB / 1.378 GB, free: 14.49 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/0.3571, allocations: 4 kB / 1.378 GB, free: 14.48 MB / 1.076 GB Notification: Performance of Templates: time 0.007021/0.3641, allocations: 3.52 MB / 1.382 GB, free: 11 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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: 8.640007812995464]