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.001065/0.001065, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.0009934/0.0009934, allocations: 181 kB / 24.08 MB, free: 424 kB / 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.9372/0.9372, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.958/1.958, allocations: 377.9 MB / 0.624 GB, free: 8.414 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 1.713e-06/1.713e-06, allocations: 0 / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.969e-05, allocations: 3.531 kB / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006328/0.006347, allocations: 4.53 MB / 0.8164 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002876/0.009223, allocations: 2.801 MB / 0.8192 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.435e-05/0.009287, allocations: 0.6875 kB / 0.8192 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.009529, allocations: 44.22 kB / 0.8192 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.009743, allocations: 100.4 kB / 0.8193 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007752/0.01052, allocations: 0.5262 MB / 0.8198 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.01071, allocations: 245.1 kB / 0.8201 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.712e-05/0.01075, allocations: 13.73 kB / 0.8201 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007578/0.01151, allocations: 0.5185 MB / 0.8206 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.189e-05/0.0116, allocations: 79.77 kB / 0.8207 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.01162, allocations: 4 kB / 0.8207 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005873/0.01221, allocations: 494.5 kB / 0.8211 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.942e-05/0.01226, allocations: 31.84 kB / 0.8212 GB, free: 8.098 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.814e-05/0.01231, allocations: 59.89 kB / 0.8212 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003894/0.0127, allocations: 358.9 kB / 0.8216 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.0127, allocations: 0.5 kB / 0.8216 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.82e-07/0.0127, allocations: 0.6875 kB / 0.8216 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.0127, allocations: 0 / 0.8216 GB, free: 7.688 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.0008444/0.01355, allocations: 0.5322 MB / 0.8221 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.01359, allocations: 11.97 kB / 0.8221 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.01371, allocations: 52.14 kB / 0.8222 GB, free: 7.059 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.01386, allocations: 152.4 kB / 0.8223 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.01388, allocations: 12.7 kB / 0.8223 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.0139, allocations: 16.38 kB / 0.8223 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.01415, allocations: 408.1 kB / 0.8227 GB, free: 6.379 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.01416, allocations: 4.125 kB / 0.8227 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.01418, allocations: 12.12 kB / 0.8227 GB, free: 6.363 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.802e-05/0.01421, allocations: 4 kB / 0.8227 GB, free: 6.359 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.0144, allocations: 256.6 kB / 0.823 GB, free: 6.109 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007294/0.01513, allocations: 1.069 MB / 0.824 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.01531, allocations: 126.4 kB / 0.8241 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.038e-05/0.01535, allocations: 39.72 kB / 0.8242 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000476/0.01582, allocations: 0.5405 MB / 0.8247 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.01585, allocations: 41.38 kB / 0.8248 GB, free: 4.203 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.01585, allocations: 0 / 0.8248 GB, free: 4.203 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.000189/0.01604, allocations: 120 kB / 0.8249 GB, free: 4.082 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.01606, allocations: 59.34 kB / 0.8249 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.483e-05/0.01616, allocations: 217.7 kB / 0.8251 GB, free: 3.781 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.01617, allocations: 29.7 kB / 0.8252 GB, free: 3.746 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.01624, allocations: 194.8 kB / 0.8253 GB, free: 3.551 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.01627, allocations: 55.52 kB / 0.8254 GB, free: 3.496 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.01632, allocations: 59.34 kB / 0.8255 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.01643, allocations: 0.5 MB / 0.8259 GB, free: 2.918 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.354e-05/0.01645, allocations: 15.98 kB / 0.826 GB, free: 2.902 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.996e-05/0.01654, allocations: 178.9 kB / 0.8261 GB, free: 2.66 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.01669, allocations: 222.6 kB / 0.8263 GB, free: 2.375 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.01669, allocations: 0 / 0.8263 GB, free: 2.375 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001786/0.01687, allocations: 191.7 kB / 0.8265 GB, free: 2.184 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.01688, allocations: 8 kB / 0.8265 GB, free: 2.176 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.01689, allocations: 4 kB / 0.8265 GB, free: 2.172 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.0169, allocations: 7.938 kB / 0.8265 GB, free: 2.164 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.017, allocations: 55.92 kB / 0.8266 GB, free: 2.109 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.01701, allocations: 15.97 kB / 0.8266 GB, free: 2.094 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.59e-05/0.01707, allocations: 27.78 kB / 0.8266 GB, free: 2.066 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.01708, allocations: 15.94 kB / 0.8267 GB, free: 2.051 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 7.778e-05/0.01716, allocations: 172.5 kB / 0.8268 GB, free: 1.871 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.01719, allocations: 27.91 kB / 0.8268 GB, free: 1.844 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/0.01736, allocations: 134.2 kB / 0.827 GB, free: 1.707 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.01737, allocations: 4 kB / 0.827 GB, free: 1.703 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.01737, allocations: 4 kB / 0.827 GB, free: 1.699 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01738, allocations: 3.984 kB / 0.827 GB, free: 1.695 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.01751, allocations: 145 kB / 0.8271 GB, free: 1.527 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01751, allocations: 0 / 0.8271 GB, free: 1.527 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.614e-05/0.01757, allocations: 27.98 kB / 0.8271 GB, free: 1.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.01757, allocations: 0 / 0.8271 GB, free: 1.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.01758, allocations: 8 kB / 0.8272 GB, free: 1.492 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.01758, allocations: 4 kB / 0.8272 GB, free: 1.488 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01758, allocations: 0 / 0.8272 GB, free: 1.488 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.01774, allocations: 262.1 kB / 0.8274 GB, free: 1.215 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.835e-05/0.01778, allocations: 31.86 kB / 0.8274 GB, free: 1.184 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.01779, allocations: 0 / 0.8274 GB, free: 1.184 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.414e-05/0.01787, allocations: 12 kB / 0.8274 GB, free: 1.172 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.01789, allocations: 11.97 kB / 0.8275 GB, free: 1.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.0179, allocations: 8 kB / 0.8275 GB, free: 1.152 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.981e-05/0.01795, allocations: 150.2 kB / 0.8276 GB, free: 1.008 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01795, allocations: 0 / 0.8276 GB, free: 1.008 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002376/0.01819, allocations: 79.81 kB / 0.8277 GB, free: 0.9297 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.0002459/0.01844, allocations: 183 kB / 0.8279 GB, free: 0.7422 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001687/0.01861, allocations: 112.2 kB / 0.828 GB, free: 0.6289 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01861, allocations: 3.938 kB / 0.828 GB, free: 0.625 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.271e-05/0.01865, allocations: 43.73 kB / 0.828 GB, free: 0.5781 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.0189, allocations: 51.75 kB / 0.8281 GB, free: 0.5273 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006908/0.0196, allocations: 319 kB / 0.8284 GB, free: 192 kB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.337e-05/0.01964, allocations: 71.98 kB / 0.8284 GB, free: 100 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.382e-05/0.01973, allocations: 45.22 kB / 0.8285 GB, free: 52 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.01989, allocations: 146.1 kB / 0.8286 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of SimCode: time 6.81e-07/0.01989, allocations: 0 / 0.8286 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of Templates: time 0.005688/0.02557, allocations: 3.466 MB / 0.832 GB, free: 12.5 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.154838677030057]