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.001879/0.001879, allocations: 78.17 kB / 19.76 MB, free: 2.023 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.002417/0.002417, allocations: 156.2 kB / 23.01 MB, free: 4.953 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.53/1.53, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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 2.886/2.886, allocations: 394.2 MB / 0.6386 GB, free: 11.97 MB / 0.6075 GB " [Timeout remaining time 176] 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.003461/0.003461, allocations: 63.91 kB / 1.009 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9547/0.9582, allocations: 181.8 MB / 1.187 GB, free: 16.13 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005946/0.9642, allocations: 4.242 MB / 1.191 GB, free: 13.21 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002683/0.9668, allocations: 2.442 MB / 1.193 GB, free: 11.59 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.9669, allocations: 1.656 kB / 1.193 GB, free: 11.59 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003143/0.9673, allocations: 50.77 kB / 1.193 GB, free: 11.56 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.9675, allocations: 101.1 kB / 1.193 GB, free: 11.49 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.969, allocations: 0.499 MB / 1.194 GB, free: 11.23 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003101/0.9693, allocations: 238.6 kB / 1.194 GB, free: 11.13 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.196e-05/0.9693, allocations: 15.58 kB / 1.194 GB, free: 11.13 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.9706, allocations: 487 kB / 1.194 GB, free: 10.97 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.9707, allocations: 89.64 kB / 1.195 GB, free: 10.93 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.9708, allocations: 7.531 kB / 1.195 GB, free: 10.93 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.9719, allocations: 486.5 kB / 1.195 GB, free: 10.77 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.776e-05/0.972, allocations: 36.73 kB / 1.195 GB, free: 10.75 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.49e-05/0.9721, allocations: 72.72 kB / 1.195 GB, free: 10.72 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006906/0.9728, allocations: 341.2 kB / 1.195 GB, free: 10.61 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.9728, allocations: 0.75 kB / 1.195 GB, free: 10.61 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.846e-06/0.9728, allocations: 8.453 kB / 1.195 GB, free: 10.6 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.9728, allocations: 0 / 1.195 GB, free: 10.6 MB / 1.076 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.0007679/0.9736, allocations: 440 kB / 1.196 GB, free: 10.24 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.9736, allocations: 8.969 kB / 1.196 GB, free: 10.24 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.9738, allocations: 22.81 kB / 1.196 GB, free: 10.23 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.974, allocations: 154.6 kB / 1.196 GB, free: 10.08 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.974, allocations: 11.23 kB / 1.196 GB, free: 10.08 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.9741, allocations: 18.84 kB / 1.196 GB, free: 10.07 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004274/0.9745, allocations: 464.6 kB / 1.197 GB, free: 9.676 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.9745, allocations: 9.062 kB / 1.197 GB, free: 9.668 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.9745, allocations: 10.97 kB / 1.197 GB, free: 9.66 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.757e-05/0.9745, allocations: 6.547 kB / 1.197 GB, free: 9.66 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005872/0.9751, allocations: 418.9 kB / 1.197 GB, free: 9.586 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008763/0.976, allocations: 0.8342 MB / 1.198 GB, free: 8.863 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.9763, allocations: 149 kB / 1.198 GB, free: 8.809 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.895e-05/0.9764, allocations: 50.06 kB / 1.198 GB, free: 8.789 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000649/0.9771, allocations: 459.4 kB / 1.198 GB, free: 8.465 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.9771, allocations: 41.06 kB / 1.198 GB, free: 8.418 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.522e-06/0.9771, allocations: 1.062 kB / 1.198 GB, free: 8.418 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0003131/0.9774, allocations: 135.8 kB / 1.199 GB, free: 8.359 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.9774, allocations: 53.12 kB / 1.199 GB, free: 8.297 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.9776, allocations: 177.5 kB / 1.199 GB, free: 8.156 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.9776, allocations: 30.8 kB / 1.199 GB, free: 8.121 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.806e-05/0.9776, allocations: 143.8 kB / 1.199 GB, free: 7.992 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.9777, allocations: 59.33 kB / 1.199 GB, free: 7.945 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/0.9777, allocations: 56.91 kB / 1.199 GB, free: 7.906 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.268e-05/0.9778, allocations: 321.9 kB / 1.199 GB, free: 7.59 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.803e-05/0.9778, allocations: 35.27 kB / 1.199 GB, free: 7.582 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.978, allocations: 143.9 kB / 1.2 GB, free: 7.438 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.9781, allocations: 191.5 kB / 1.2 GB, free: 7.266 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.9781, allocations: 1.094 kB / 1.2 GB, free: 7.266 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003046/0.9785, allocations: 222.6 kB / 1.2 GB, free: 7.16 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.9785, allocations: 6.719 kB / 1.2 GB, free: 7.16 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.9785, allocations: 4.25 kB / 1.2 GB, free: 7.16 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.9785, allocations: 5.438 kB / 1.2 GB, free: 7.16 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.9787, allocations: 55.53 kB / 1.2 GB, free: 7.156 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.9787, allocations: 13.75 kB / 1.2 GB, free: 7.148 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.9788, allocations: 24.72 kB / 1.2 GB, free: 7.133 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.9788, allocations: 20.02 kB / 1.2 GB, free: 7.125 MB / 1.076 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 8.154e-05/0.9789, allocations: 134.6 kB / 1.2 GB, free: 6.992 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.763e-05/0.979, allocations: 12.69 kB / 1.2 GB, free: 6.988 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002845/0.9792, allocations: 157.2 kB / 1.2 GB, free: 6.906 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.9793, allocations: 2.125 kB / 1.2 GB, free: 6.906 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.9793, allocations: 3.938 kB / 1.2 GB, free: 6.902 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.9793, allocations: 1.312 kB / 1.2 GB, free: 6.902 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.9794, allocations: 147.7 kB / 1.201 GB, free: 6.762 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.9794, allocations: 0 / 1.201 GB, free: 6.762 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.9796, allocations: 35.47 kB / 1.201 GB, free: 6.754 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.9796, allocations: 1.188 kB / 1.201 GB, free: 6.754 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.9796, allocations: 2.938 kB / 1.201 GB, free: 6.754 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.9796, allocations: 0 / 1.201 GB, free: 6.754 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.9796, allocations: 9.656 kB / 1.201 GB, free: 6.746 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.9798, allocations: 224.4 kB / 1.201 GB, free: 6.578 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/0.9799, allocations: 32.44 kB / 1.201 GB, free: 6.562 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.9799, allocations: 5.781 kB / 1.201 GB, free: 6.559 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.9801, allocations: 13.16 kB / 1.201 GB, free: 6.559 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.9801, allocations: 13.31 kB / 1.201 GB, free: 6.555 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.9801, allocations: 18.67 kB / 1.201 GB, free: 6.543 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.373e-05/0.9802, allocations: 109.8 kB / 1.201 GB, free: 6.461 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9802, allocations: 0 / 1.201 GB, free: 6.461 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004466/0.9807, allocations: 79.61 kB / 1.201 GB, free: 6.441 MB / 1.076 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.0003217/0.981, allocations: 179.8 kB / 1.201 GB, free: 6.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002786/0.9813, allocations: 117.4 kB / 1.201 GB, free: 6.285 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.9813, allocations: 0.9375 kB / 1.201 GB, free: 6.285 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.087e-05/0.9813, allocations: 39.08 kB / 1.201 GB, free: 6.277 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.9817, allocations: 42.81 kB / 1.201 GB, free: 6.258 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007283/0.9825, allocations: 350.7 kB / 1.202 GB, free: 6.039 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.9826, allocations: 101.3 kB / 1.202 GB, free: 5.961 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001439/0.9827, allocations: 45.58 kB / 1.202 GB, free: 5.938 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.505e-05/0.9827, allocations: 26.42 kB / 1.202 GB, free: 5.926 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/0.9827, allocations: 0 / 1.202 GB, free: 5.926 MB / 1.076 GB Notification: Performance of Templates: time 0.00795/0.9907, allocations: 3.041 MB / 1.205 GB, free: 5.477 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 9.229180017020553]