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.001099/0.001099, allocations: 80.94 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.00127/0.00127, allocations: 173.4 kB / 23.36 MB, free: 1.133 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.003/1.003, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.356/2.356, allocations: 438.8 MB / 0.6826 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.883e-06/1.883e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.785e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005918/0.005936, allocations: 4.613 MB / 0.8431 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002675/0.008611, allocations: 2.835 MB / 0.8459 GB, free: 6.699 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.314e-05/0.008674, allocations: 4 kB / 0.8459 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.008923, allocations: 47.62 kB / 0.8459 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.009173, allocations: 99.23 kB / 0.846 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000905/0.01008, allocations: 0.5248 MB / 0.8465 GB, free: 6.023 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.01033, allocations: 243.8 kB / 0.8468 GB, free: 5.785 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.937e-05/0.01037, allocations: 10.45 kB / 0.8468 GB, free: 5.777 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008498/0.01122, allocations: 0.5064 MB / 0.8473 GB, free: 5.27 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.01133, allocations: 83.78 kB / 0.8473 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.01136, allocations: 4 kB / 0.8473 GB, free: 5.184 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007638/0.01212, allocations: 0.491 MB / 0.8478 GB, free: 4.691 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.468e-05/0.01219, allocations: 35.91 kB / 0.8479 GB, free: 4.656 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.898e-05/0.01226, allocations: 59.83 kB / 0.8479 GB, free: 4.598 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005104/0.01277, allocations: 354.9 kB / 0.8483 GB, free: 4.25 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.01277, allocations: 0 / 0.8483 GB, free: 4.25 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.71e-07/0.01277, allocations: 0 / 0.8483 GB, free: 4.25 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.01277, allocations: 0 / 0.8483 GB, free: 4.25 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.0008729/0.01365, allocations: 423.6 kB / 0.8487 GB, free: 3.809 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.01368, allocations: 8.625 kB / 0.8487 GB, free: 3.801 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.01384, allocations: 36.84 kB / 0.8487 GB, free: 3.766 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.01402, allocations: 153.5 kB / 0.8489 GB, free: 3.59 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.01404, allocations: 12.7 kB / 0.8489 GB, free: 3.578 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.01407, allocations: 20.38 kB / 0.8489 GB, free: 3.559 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.01438, allocations: 382 kB / 0.8492 GB, free: 3.113 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.01439, allocations: 192 / 0.8492 GB, free: 3.113 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.01441, allocations: 12.12 kB / 0.8493 GB, free: 3.102 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.311e-05/0.01444, allocations: 15.94 kB / 0.8493 GB, free: 3.086 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.01475, allocations: 258.3 kB / 0.8495 GB, free: 2.832 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007843/0.01553, allocations: 0.7444 MB / 0.8502 GB, free: 2.051 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.01575, allocations: 163.4 kB / 0.8504 GB, free: 1.879 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.372e-05/0.01581, allocations: 28.84 kB / 0.8504 GB, free: 1.848 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000581/0.01639, allocations: 478 kB / 0.8509 GB, free: 1.367 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.01642, allocations: 54.42 kB / 0.8509 GB, free: 1.305 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.01642, allocations: 0 / 0.8509 GB, free: 1.305 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.0002078/0.01663, allocations: 129.6 kB / 0.8511 GB, free: 1.172 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.01666, allocations: 59.34 kB / 0.8511 GB, free: 1.102 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.01676, allocations: 157.6 kB / 0.8513 GB, free: 0.9375 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.01678, allocations: 29.7 kB / 0.8513 GB, free: 0.9023 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.01685, allocations: 148 kB / 0.8514 GB, free: 0.7539 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.01689, allocations: 55.52 kB / 0.8515 GB, free: 0.6992 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.367e-05/0.01695, allocations: 49.69 kB / 0.8515 GB, free: 0.6445 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.008e-05/0.01704, allocations: 330.7 kB / 0.8519 GB, free: 320 kB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.641e-05/0.01708, allocations: 26.81 kB / 0.8519 GB, free: 292 kB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.128e-05/0.01717, allocations: 121.6 kB / 0.852 GB, free: 120 kB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.01735, allocations: 179.1 kB / 0.8522 GB, free: 15.89 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.01735, allocations: 0 / 0.8522 GB, free: 15.89 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002243/0.01757, allocations: 174.8 kB / 0.8523 GB, free: 15.71 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.01759, allocations: 6.188 kB / 0.8523 GB, free: 15.71 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.01759, allocations: 4 kB / 0.8523 GB, free: 15.71 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.01761, allocations: 4 kB / 0.8523 GB, free: 15.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.01777, allocations: 59.91 kB / 0.8524 GB, free: 15.64 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.01778, allocations: 11.94 kB / 0.8524 GB, free: 15.63 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.444e-05/0.01787, allocations: 27.78 kB / 0.8524 GB, free: 15.61 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.01789, allocations: 8 kB / 0.8524 GB, free: 15.6 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 9.026e-05/0.01798, allocations: 136.7 kB / 0.8526 GB, free: 15.45 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.01802, allocations: 15.98 kB / 0.8526 GB, free: 15.44 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.01822, allocations: 118.2 kB / 0.8527 GB, free: 15.31 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.01822, allocations: 0 / 0.8527 GB, free: 15.31 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.01823, allocations: 4 kB / 0.8527 GB, free: 15.31 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01823, allocations: 0 / 0.8527 GB, free: 15.31 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.0184, allocations: 101.8 kB / 0.8528 GB, free: 15.19 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.0184, allocations: 3.938 kB / 0.8528 GB, free: 15.19 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.298e-05/0.0185, allocations: 35.92 kB / 0.8528 GB, free: 15.15 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.0185, allocations: 0 / 0.8528 GB, free: 15.15 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.01851, allocations: 0 / 0.8528 GB, free: 15.15 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.155e-06/0.01851, allocations: 4 kB / 0.8529 GB, free: 15.15 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01851, allocations: 4 kB / 0.8529 GB, free: 15.14 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.01867, allocations: 226.2 kB / 0.8531 GB, free: 14.91 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.01873, allocations: 35.7 kB / 0.8531 GB, free: 14.87 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.01874, allocations: 4 kB / 0.8531 GB, free: 14.87 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.01887, allocations: 11.98 kB / 0.8531 GB, free: 14.86 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.01889, allocations: 11.98 kB / 0.8531 GB, free: 14.84 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.01891, allocations: 7.922 kB / 0.8531 GB, free: 14.84 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.275e-05/0.01894, allocations: 32.83 kB / 0.8532 GB, free: 14.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01894, allocations: 0 / 0.8532 GB, free: 14.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003602/0.0193, allocations: 79.88 kB / 0.8532 GB, free: 14.72 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.0002546/0.01956, allocations: 164.1 kB / 0.8534 GB, free: 14.55 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00016/0.01972, allocations: 103.6 kB / 0.8535 GB, free: 14.45 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.01973, allocations: 0 / 0.8535 GB, free: 14.45 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.235e-05/0.01977, allocations: 36.97 kB / 0.8535 GB, free: 14.41 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.02004, allocations: 47.91 kB / 0.8536 GB, free: 14.37 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000775/0.02082, allocations: 331 kB / 0.8539 GB, free: 14.02 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.107e-05/0.02087, allocations: 71.98 kB / 0.854 GB, free: 13.93 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001285/0.021, allocations: 45.22 kB / 0.854 GB, free: 13.88 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/0.0212, allocations: 129.1 kB / 0.8541 GB, free: 13.75 MB / 0.823 GB Notification: Performance of SimCode: time 6.21e-07/0.0212, allocations: 4 kB / 0.8541 GB, free: 13.75 MB / 0.823 GB Notification: Performance of Templates: time 0.006674/0.02787, allocations: 3.44 MB / 0.8575 GB, free: 10.36 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 -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.413576629944146]