Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.0009548/0.0009548, 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.001017/0.001017, allocations: 177 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 0.988/0.988, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.364/2.364, allocations: 438.8 MB / 0.6826 GB, free: 13.63 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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.8385 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.348e-05, allocations: 10.19 kB / 0.8385 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004941/0.004965, allocations: 3.908 MB / 0.8424 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002061/0.005171, allocations: 163.4 kB / 0.8425 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.439e-05/0.005195, allocations: 0 / 0.8425 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.005317, allocations: 0 / 0.8425 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.254e-05/0.005409, allocations: 15.91 kB / 0.8425 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.005735, allocations: 91.62 kB / 0.8426 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.17e-05/0.005827, allocations: 39.84 kB / 0.8427 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.00587, allocations: 0 / 0.8427 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.939e-05/0.00593, allocations: 23.91 kB / 0.8427 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.762e-05/0.006007, allocations: 11.92 kB / 0.8427 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.006019, allocations: 0 / 0.8427 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004196/0.006439, allocations: 183.5 kB / 0.8429 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.022e-05/0.006479, allocations: 7.984 kB / 0.8429 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.736e-05/0.006497, allocations: 8 kB / 0.8429 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.006629, allocations: 71.73 kB / 0.8429 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.006633, allocations: 0 / 0.8429 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.303e-06/0.006635, allocations: 0 / 0.8429 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.006639, allocations: 0 / 0.8429 GB, free: 9.754 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000356/0.006995, allocations: 232.6 kB / 0.8432 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.007026, allocations: 12.03 kB / 0.8432 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.007053, allocations: 4.922 kB / 0.8432 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.398e-05/0.007127, allocations: 105.8 kB / 0.8433 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.099e-05/0.007178, allocations: 55.97 kB / 0.8433 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.363e-05/0.007252, allocations: 4.375 kB / 0.8433 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.007374, allocations: 79.48 kB / 0.8434 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.007381, allocations: 192 / 0.8434 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.007389, allocations: 3.938 kB / 0.8434 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.00741, allocations: 3.938 kB / 0.8434 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.883e-05/0.007429, allocations: 11.98 kB / 0.8434 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002695/0.007698, allocations: 161.9 kB / 0.8436 GB, free: 9 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.18e-05/0.00773, allocations: 22.58 kB / 0.8436 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.107e-05/0.007741, allocations: 8.891 kB / 0.8436 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/0.00778, allocations: 16 kB / 0.8436 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.007801, allocations: 38.5 kB / 0.8437 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.007801, allocations: 3.938 kB / 0.8437 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 8.884e-05/0.00789, allocations: 29.7 kB / 0.8437 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.007918, allocations: 55.39 kB / 0.8438 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.634e-05/0.007975, allocations: 106.7 kB / 0.8439 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.238e-06/0.007984, allocations: 25.7 kB / 0.8439 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.008019, allocations: 88.08 kB / 0.844 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.869e-06/0.008024, allocations: 7.984 kB / 0.844 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.008046, allocations: 13.72 kB / 0.844 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.589e-05/0.008112, allocations: 315 kB / 0.8443 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-06/0.008119, allocations: 4 kB / 0.8443 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.739e-05/0.008137, allocations: 17.7 kB / 0.8443 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.513e-05/0.008162, allocations: 28.47 kB / 0.8443 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.008163, allocations: 0 / 0.8443 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.612e-05/0.008209, allocations: 41.62 kB / 0.8444 GB, free: 8.098 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.008221, allocations: 7.938 kB / 0.8444 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.008226, allocations: 4 kB / 0.8444 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.008238, allocations: 0 / 0.8444 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.18e-05/0.00827, allocations: 8.062 kB / 0.8444 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-06/0.008272, allocations: 0 / 0.8444 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.253e-05/0.008285, allocations: 4 kB / 0.8444 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.008292, allocations: 0 / 0.8444 GB, free: 8.074 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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 5.236e-05/0.008345, allocations: 116.7 kB / 0.8445 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.008358, allocations: 7.938 kB / 0.8445 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.131e-05/0.008439, allocations: 116.9 kB / 0.8446 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-05/0.008478, allocations: 180.2 kB / 0.8448 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.882e-05/0.008517, allocations: 180.3 kB / 0.845 GB, free: 7.453 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.045e-05/0.008558, allocations: 188.5 kB / 0.8452 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.008685, allocations: 321.4 kB / 0.8455 GB, free: 6.922 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.629e-05/0.008711, allocations: 108.9 kB / 0.8456 GB, free: 6.809 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.989e-05/0.008741, allocations: 101 kB / 0.8457 GB, free: 6.703 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.267e-05/0.008784, allocations: 184.2 kB / 0.8458 GB, free: 6.516 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.323e-05/0.008827, allocations: 180.2 kB / 0.846 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.974e-05/0.008867, allocations: 180.2 kB / 0.8462 GB, free: 6.148 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.637e-05/0.008913, allocations: 184.2 kB / 0.8464 GB, free: 5.961 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.009119, allocations: 315.7 kB / 0.8467 GB, free: 5.629 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.009153, allocations: 109 kB / 0.8468 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.009204, allocations: 180.2 kB / 0.8469 GB, free: 5.332 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.759e-05/0.009301, allocations: 116.9 kB / 0.847 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.009346, allocations: 176.3 kB / 0.8472 GB, free: 5.031 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.009373, allocations: 104.9 kB / 0.8473 GB, free: 4.922 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.134e-05/0.009395, allocations: 12.84 kB / 0.8473 GB, free: 4.906 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.009395, allocations: 4 kB / 0.8473 GB, free: 4.902 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001437/0.009538, allocations: 19.94 kB / 0.8474 GB, free: 4.883 MB / 0.8073 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0001569/0.009695, allocations: 167.6 kB / 0.8475 GB, free: 4.711 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.948e-05/0.009745, allocations: 13.17 kB / 0.8475 GB, free: 4.695 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.009748, allocations: 128 / 0.8475 GB, free: 4.695 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.009749, allocations: 4 kB / 0.8475 GB, free: 4.691 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.009965, allocations: 471.6 kB / 0.848 GB, free: 4.227 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.01029, allocations: 194.8 kB / 0.8482 GB, free: 4.008 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.864e-05/0.01032, allocations: 51.36 kB / 0.8482 GB, free: 3.938 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.704e-05/0.01035, allocations: 4 kB / 0.8482 GB, free: 3.934 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/0.0104, allocations: 67.34 kB / 0.8483 GB, free: 3.867 MB / 0.8073 GB Notification: Performance of SimCode: time 7.21e-07/0.01041, allocations: 0 / 0.8483 GB, free: 3.867 MB / 0.8073 GB Notification: Performance of Templates: time 0.002189/0.01259, allocations: 0.7613 MB / 0.849 GB, free: 3.129 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.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.25252146134153]