Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009674/0.0009674, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 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.0009244/0.0009244, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 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 0.992/0.992, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.906/1.906, allocations: 377.8 MB / 0.6236 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.582e-05/3.815e-05, allocations: 9.062 kB / 0.8116 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007943/0.007981, allocations: 4.56 MB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003168/0.01115, allocations: 2.797 MB / 0.8187 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.01128, allocations: 0 / 0.8187 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003833/0.01167, allocations: 52.73 kB / 0.8188 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000402/0.01207, allocations: 96.09 kB / 0.8189 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.01368, allocations: 0.5307 MB / 0.8194 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003845/0.01406, allocations: 247.8 kB / 0.8196 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.384e-05/0.01412, allocations: 10.94 kB / 0.8196 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.01537, allocations: 0.5165 MB / 0.8202 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.01554, allocations: 71.78 kB / 0.8202 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/0.01557, allocations: 8 kB / 0.8202 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.01665, allocations: 498.5 kB / 0.8207 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.114e-05/0.01674, allocations: 31.89 kB / 0.8207 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.617e-05/0.01683, allocations: 63.83 kB / 0.8208 GB, free: 8.297 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007377/0.01756, allocations: 354.9 kB / 0.8211 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.01757, allocations: 3.938 kB / 0.8211 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.366e-06/0.01757, allocations: 4 kB / 0.8211 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.01758, allocations: 0 / 0.8211 GB, free: 7.941 MB / 0.7761 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.000926/0.0185, allocations: 0.5271 MB / 0.8217 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.01855, allocations: 12.02 kB / 0.8217 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002484/0.0188, allocations: 44.72 kB / 0.8217 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005308/0.01933, allocations: 160.4 kB / 0.8219 GB, free: 7.137 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.01935, allocations: 8.703 kB / 0.8219 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.01939, allocations: 20.38 kB / 0.8219 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/0.01981, allocations: 424 kB / 0.8223 GB, free: 6.617 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.01983, allocations: 192 / 0.8223 GB, free: 6.617 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.01986, allocations: 12.12 kB / 0.8223 GB, free: 6.605 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.401e-05/0.0199, allocations: 4 kB / 0.8223 GB, free: 6.602 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00038/0.02028, allocations: 299.5 kB / 0.8226 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.02143, allocations: 1.095 MB / 0.8237 GB, free: 5.152 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.02176, allocations: 132 kB / 0.8238 GB, free: 5.012 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.113e-05/0.02185, allocations: 43.67 kB / 0.8238 GB, free: 4.965 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007621/0.02262, allocations: 0.527 MB / 0.8243 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.02265, allocations: 37.39 kB / 0.8244 GB, free: 4.371 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 2.024e-06/0.02265, allocations: 0 / 0.8244 GB, free: 4.371 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.000342/0.02299, allocations: 129.5 kB / 0.8245 GB, free: 4.238 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.02303, allocations: 59.39 kB / 0.8246 GB, free: 4.168 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.02319, allocations: 220.6 kB / 0.8248 GB, free: 3.938 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.02321, allocations: 33.69 kB / 0.8248 GB, free: 3.898 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.921e-05/0.02331, allocations: 190.8 kB / 0.825 GB, free: 3.707 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.02335, allocations: 51.53 kB / 0.825 GB, free: 3.656 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.528e-05/0.02343, allocations: 59.36 kB / 0.8251 GB, free: 3.59 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.02359, allocations: 0.4922 MB / 0.8256 GB, free: 3.086 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.702e-05/0.02365, allocations: 31.97 kB / 0.8256 GB, free: 3.055 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.0238, allocations: 178.9 kB / 0.8258 GB, free: 2.812 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.02405, allocations: 232.6 kB / 0.826 GB, free: 2.52 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.02405, allocations: 4 kB / 0.826 GB, free: 2.516 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003411/0.02439, allocations: 203.9 kB / 0.8262 GB, free: 2.312 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.02441, allocations: 8 kB / 0.8262 GB, free: 2.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.02443, allocations: 8 kB / 0.8262 GB, free: 2.297 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.02445, allocations: 4 kB / 0.8262 GB, free: 2.293 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.02464, allocations: 59.91 kB / 0.8263 GB, free: 2.234 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.02465, allocations: 11.94 kB / 0.8263 GB, free: 2.223 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.02476, allocations: 27.78 kB / 0.8263 GB, free: 2.195 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.0248, allocations: 19.97 kB / 0.8263 GB, free: 2.176 MB / 0.7761 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.000139/0.02493, allocations: 172.5 kB / 0.8265 GB, free: 1.996 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.802e-05/0.02499, allocations: 19.91 kB / 0.8265 GB, free: 1.977 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003288/0.02532, allocations: 142.2 kB / 0.8266 GB, free: 1.832 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.02534, allocations: 8 kB / 0.8267 GB, free: 1.824 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.02534, allocations: 0 / 0.8267 GB, free: 1.824 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.02535, allocations: 0 / 0.8267 GB, free: 1.824 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.02557, allocations: 168.4 kB / 0.8268 GB, free: 1.625 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.02558, allocations: 4 kB / 0.8268 GB, free: 1.621 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.02568, allocations: 27.92 kB / 0.8268 GB, free: 1.594 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.02568, allocations: 4 kB / 0.8268 GB, free: 1.59 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.0257, allocations: 7.984 kB / 0.8269 GB, free: 1.582 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.0257, allocations: 3.938 kB / 0.8269 GB, free: 1.578 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.0257, allocations: 0 / 0.8269 GB, free: 1.578 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.02597, allocations: 259.8 kB / 0.8271 GB, free: 1.305 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.577e-05/0.02603, allocations: 35.88 kB / 0.8271 GB, free: 1.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.02605, allocations: 0 / 0.8271 GB, free: 1.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.0262, allocations: 15.98 kB / 0.8272 GB, free: 1.254 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.02623, allocations: 7.984 kB / 0.8272 GB, free: 1.246 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.02625, allocations: 12 kB / 0.8272 GB, free: 1.234 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.587e-05/0.02634, allocations: 147.4 kB / 0.8273 GB, free: 1.09 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.02634, allocations: 0 / 0.8273 GB, free: 1.09 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004989/0.02684, allocations: 87.73 kB / 0.8274 GB, free: 1.004 MB / 0.7761 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.000357/0.02719, allocations: 183 kB / 0.8276 GB, free: 0.8164 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002517/0.02745, allocations: 106.3 kB / 0.8277 GB, free: 0.7109 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.02745, allocations: 4 kB / 0.8277 GB, free: 0.707 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.194e-05/0.02751, allocations: 52.47 kB / 0.8277 GB, free: 0.6523 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.02781, allocations: 55.77 kB / 0.8278 GB, free: 0.5977 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008999/0.0287, allocations: 311.1 kB / 0.8281 GB, free: 272 kB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.98e-05/0.02875, allocations: 68 kB / 0.8281 GB, free: 184 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000118/0.02887, allocations: 49.22 kB / 0.8282 GB, free: 132 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.087e-05/0.02891, allocations: 28.48 kB / 0.8282 GB, free: 104 kB / 0.7761 GB Notification: Performance of SimCode: time 7.61e-07/0.02891, allocations: 0 / 0.8282 GB, free: 104 kB / 0.7761 GB Notification: Performance of Templates: time 0.005677/0.03459, allocations: 3.077 MB / 0.8312 GB, free: 13.1 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.513459557201713]