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.0009342/0.0009342, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.0009293/0.0009293, allocations: 173 kB / 23.36 MB, free: 1.129 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 1.012/1.012, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.555/2.555, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.[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_latest_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_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.634e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005046/0.005072, allocations: 4.649 MB / 0.8432 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002179/0.007251, allocations: 2.842 MB / 0.846 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.873e-05/0.007319, allocations: 4 kB / 0.846 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.00757, allocations: 35.77 kB / 0.846 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002327/0.007803, allocations: 107.2 kB / 0.8461 GB, free: 6.445 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008903/0.008693, allocations: 0.513 MB / 0.8466 GB, free: 5.93 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.008912, allocations: 247.8 kB / 0.8468 GB, free: 5.688 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.008953, allocations: 10.45 kB / 0.8469 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007479/0.009701, allocations: 0.4909 MB / 0.8473 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.00981, allocations: 71.84 kB / 0.8474 GB, free: 5.117 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.009832, allocations: 8 kB / 0.8474 GB, free: 5.109 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006997/0.01053, allocations: 0.5065 MB / 0.8479 GB, free: 4.602 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.996e-05/0.0106, allocations: 47.81 kB / 0.8479 GB, free: 4.555 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.7e-05/0.01066, allocations: 59.89 kB / 0.848 GB, free: 4.496 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000464/0.01112, allocations: 354.9 kB / 0.8483 GB, free: 4.148 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.01113, allocations: 0 / 0.8483 GB, free: 4.148 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.382e-06/0.01113, allocations: 0 / 0.8483 GB, free: 4.148 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.01114, allocations: 0 / 0.8483 GB, free: 4.148 MB / 0.8073 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.0006411/0.01178, allocations: 415.7 kB / 0.8487 GB, free: 3.715 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.01182, allocations: 8.625 kB / 0.8487 GB, free: 3.707 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.01198, allocations: 40.83 kB / 0.8488 GB, free: 3.668 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.01217, allocations: 157.5 kB / 0.8489 GB, free: 3.488 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.01219, allocations: 16.7 kB / 0.849 GB, free: 3.473 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.01221, allocations: 20.38 kB / 0.849 GB, free: 3.453 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/0.01249, allocations: 382 kB / 0.8493 GB, free: 3.008 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.0125, allocations: 192 / 0.8493 GB, free: 3.008 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.01252, allocations: 12.12 kB / 0.8494 GB, free: 2.996 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.912e-05/0.01256, allocations: 8 kB / 0.8494 GB, free: 2.988 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002351/0.0128, allocations: 250.3 kB / 0.8496 GB, free: 2.742 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007121/0.01351, allocations: 0.7522 MB / 0.8503 GB, free: 1.953 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.01372, allocations: 161.5 kB / 0.8505 GB, free: 1.781 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.498e-05/0.01377, allocations: 32.84 kB / 0.8505 GB, free: 1.746 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005105/0.01428, allocations: 474 kB / 0.851 GB, free: 1.27 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.01431, allocations: 38.56 kB / 0.851 GB, free: 1.223 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.01431, allocations: 0 / 0.851 GB, free: 1.223 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.0001964/0.0145, allocations: 148.9 kB / 0.8511 GB, free: 1.074 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.01454, allocations: 55.41 kB / 0.8512 GB, free: 1.008 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.01466, allocations: 166 kB / 0.8514 GB, free: 0.8359 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.01467, allocations: 29.7 kB / 0.8514 GB, free: 0.8008 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.01474, allocations: 144.1 kB / 0.8515 GB, free: 0.6562 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.01477, allocations: 55.52 kB / 0.8516 GB, free: 0.6016 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/0.01482, allocations: 53.67 kB / 0.8516 GB, free: 0.543 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.199e-05/0.01492, allocations: 326.8 kB / 0.8519 GB, free: 220 kB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.968e-05/0.01494, allocations: 22.81 kB / 0.852 GB, free: 196 kB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.652e-05/0.01502, allocations: 125.6 kB / 0.8521 GB, free: 20 kB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.01517, allocations: 179.2 kB / 0.8523 GB, free: 15.79 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.01517, allocations: 0 / 0.8523 GB, free: 15.79 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001713/0.01535, allocations: 164 kB / 0.8524 GB, free: 15.62 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.01536, allocations: 8 kB / 0.8524 GB, free: 15.62 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.01537, allocations: 4.469 kB / 0.8524 GB, free: 15.61 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.01538, allocations: 8 kB / 0.8524 GB, free: 15.61 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.01554, allocations: 63.91 kB / 0.8525 GB, free: 15.54 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.01555, allocations: 4 kB / 0.8525 GB, free: 15.54 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.356e-05/0.01561, allocations: 23.84 kB / 0.8525 GB, free: 15.52 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.01562, allocations: 8 kB / 0.8525 GB, free: 15.51 MB / 0.823 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.414e-05/0.0157, allocations: 144.5 kB / 0.8527 GB, free: 15.36 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.01572, allocations: 19.92 kB / 0.8527 GB, free: 15.34 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.01589, allocations: 116.4 kB / 0.8528 GB, free: 15.21 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.01589, allocations: 3.938 kB / 0.8528 GB, free: 15.21 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.01589, allocations: 4 kB / 0.8528 GB, free: 15.21 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.0159, allocations: 0 / 0.8528 GB, free: 15.21 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.01602, allocations: 105.8 kB / 0.8529 GB, free: 15.09 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.01602, allocations: 3.938 kB / 0.8529 GB, free: 15.08 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.718e-05/0.0161, allocations: 35.97 kB / 0.8529 GB, free: 15.05 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.0161, allocations: 0 / 0.8529 GB, free: 15.05 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.01611, allocations: 4 kB / 0.8529 GB, free: 15.04 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.01611, allocations: 7.938 kB / 0.8529 GB, free: 15.04 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.01611, allocations: 4 kB / 0.853 GB, free: 15.03 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.01624, allocations: 226.2 kB / 0.8532 GB, free: 14.79 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/0.01627, allocations: 31.81 kB / 0.8532 GB, free: 14.76 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.01629, allocations: 4 kB / 0.8532 GB, free: 14.76 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-05/0.01637, allocations: 8 kB / 0.8532 GB, free: 14.75 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.01639, allocations: 15.97 kB / 0.8532 GB, free: 14.73 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.0164, allocations: 8 kB / 0.8532 GB, free: 14.73 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.659e-05/0.01643, allocations: 35.25 kB / 0.8533 GB, free: 14.69 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.01643, allocations: 0 / 0.8533 GB, free: 14.69 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002381/0.01667, allocations: 75.81 kB / 0.8533 GB, free: 14.62 MB / 0.823 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.000228/0.0169, allocations: 168.1 kB / 0.8535 GB, free: 14.45 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001212/0.01702, allocations: 92.69 kB / 0.8536 GB, free: 14.35 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.01702, allocations: 3.938 kB / 0.8536 GB, free: 14.35 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.316e-05/0.01706, allocations: 47.95 kB / 0.8536 GB, free: 14.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.01726, allocations: 39.91 kB / 0.8537 GB, free: 14.26 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006502/0.01791, allocations: 338.9 kB / 0.854 GB, free: 13.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.021e-05/0.01795, allocations: 68 kB / 0.8541 GB, free: 13.82 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001039/0.01805, allocations: 53.2 kB / 0.8541 GB, free: 13.76 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.0182, allocations: 117.3 kB / 0.8542 GB, free: 13.65 MB / 0.823 GB Notification: Performance of SimCode: time 6.82e-07/0.0182, allocations: 0 / 0.8542 GB, free: 13.65 MB / 0.823 GB Notification: Performance of Templates: time 0.005195/0.0234, allocations: 3.452 MB / 0.8576 GB, free: 10.24 MB / 0.823 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.45174306165427]