Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.001402/0.001402, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001069/0.001069, allocations: 161 kB / 24.16 MB, free: 336 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.9722/0.9722, allocations: 177.2 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.817/1.817, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.76 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.253e-05, allocations: 2.312 kB / 0.76 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005189/0.005211, allocations: 4.191 MB / 0.7641 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001844/0.005396, allocations: 160.3 kB / 0.7642 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.239e-05/0.005418, allocations: 0 / 0.7642 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.618e-05/0.005514, allocations: 4.531 kB / 0.7642 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.113e-05/0.005585, allocations: 9.328 kB / 0.7642 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.005905, allocations: 96.12 kB / 0.7643 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.682e-05/0.005982, allocations: 33.08 kB / 0.7644 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.424e-05/0.006016, allocations: 4 kB / 0.7644 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.761e-05/0.006074, allocations: 23.91 kB / 0.7644 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.862e-05/0.006142, allocations: 12.73 kB / 0.7644 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.006154, allocations: 0 / 0.7644 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.006324, allocations: 48.56 kB / 0.7645 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.018e-05/0.006364, allocations: 12.58 kB / 0.7645 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.691e-05/0.006381, allocations: 4 kB / 0.7645 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.006511, allocations: 69.38 kB / 0.7645 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.006513, allocations: 0 / 0.7645 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.82e-07/0.006513, allocations: 3.938 kB / 0.7645 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.006517, allocations: 4 kB / 0.7645 GB, free: 2.027 MB / 0.7136 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.0002719/0.006788, allocations: 233.9 kB / 0.7648 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.00682, allocations: 8.031 kB / 0.7648 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/0.006847, allocations: 4.938 kB / 0.7648 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.397e-05/0.006921, allocations: 107 kB / 0.7649 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.535e-05/0.006976, allocations: 55.97 kB / 0.7649 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.006988, allocations: 1.469 kB / 0.7649 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.007097, allocations: 87.41 kB / 0.765 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.007103, allocations: 192 / 0.765 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.007113, allocations: 14.98 kB / 0.765 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.885e-05/0.007132, allocations: 0 / 0.765 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.282e-05/0.007154, allocations: 7.984 kB / 0.765 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.007425, allocations: 161.9 kB / 0.7652 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.007527, allocations: 18.52 kB / 0.7652 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.049e-05/0.007538, allocations: 4.859 kB / 0.7652 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.258e-05/0.00759, allocations: 12.09 kB / 0.7652 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.007613, allocations: 37.53 kB / 0.7653 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.007614, allocations: 0 / 0.7653 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 9.824e-05/0.007713, allocations: 33.7 kB / 0.7653 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.007741, allocations: 55.41 kB / 0.7654 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.19e-05/0.007803, allocations: 106.7 kB / 0.7655 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.007817, allocations: 25.7 kB / 0.7655 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.007856, allocations: 92.03 kB / 0.7656 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.917e-06/0.00786, allocations: 5.438 kB / 0.7656 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.007891, allocations: 21.69 kB / 0.7656 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.821e-05/0.007969, allocations: 314.8 kB / 0.7659 GB, free: 500 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.894e-06/0.007977, allocations: 4 kB / 0.7659 GB, free: 496 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.775e-05/0.007995, allocations: 14.25 kB / 0.7659 GB, free: 476 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.684e-05/0.008021, allocations: 25.31 kB / 0.7659 GB, free: 444 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.008023, allocations: 0.6562 kB / 0.7659 GB, free: 444 kB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.793e-05/0.008081, allocations: 47.22 kB / 0.766 GB, free: 392 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.008094, allocations: 7.938 kB / 0.766 GB, free: 384 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.008097, allocations: 0 / 0.766 GB, free: 384 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.008108, allocations: 3.938 kB / 0.766 GB, free: 380 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.288e-05/0.008141, allocations: 6.438 kB / 0.766 GB, free: 376 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.008144, allocations: 4 kB / 0.766 GB, free: 372 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.921e-05/0.008163, allocations: 3.953 kB / 0.766 GB, free: 368 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.00817, allocations: 0 / 0.766 GB, free: 368 kB / 0.7136 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.496e-05/0.008225, allocations: 112.7 kB / 0.7661 GB, free: 244 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.008251, allocations: 14.52 kB / 0.7661 GB, free: 232 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.875e-05/0.008339, allocations: 117 kB / 0.7662 GB, free: 96 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-05/0.008396, allocations: 176.3 kB / 0.7664 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.631e-05/0.008442, allocations: 184.2 kB / 0.7666 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.744e-05/0.00849, allocations: 180.3 kB / 0.7668 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.008657, allocations: 325.4 kB / 0.7671 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.657e-05/0.008684, allocations: 105 kB / 0.7672 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.701e-05/0.008711, allocations: 106.5 kB / 0.7673 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.725e-05/0.008758, allocations: 188.2 kB / 0.7674 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-05/0.008805, allocations: 176.3 kB / 0.7676 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-05/0.008853, allocations: 188.1 kB / 0.7678 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.276e-05/0.008896, allocations: 178.2 kB / 0.768 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.009, allocations: 307.8 kB / 0.7683 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.009032, allocations: 101 kB / 0.7684 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.071e-05/0.009092, allocations: 188.2 kB / 0.7685 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.009206, allocations: 108.9 kB / 0.7686 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.009257, allocations: 186.7 kB / 0.7688 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.009284, allocations: 104.9 kB / 0.7689 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.048e-05/0.009304, allocations: 12.84 kB / 0.7689 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.009304, allocations: 0 / 0.7689 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002276/0.009532, allocations: 19.92 kB / 0.7689 GB, free: 13.17 MB / 0.7292 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.0001479/0.00968, allocations: 173.5 kB / 0.7691 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.529e-05/0.009735, allocations: 17.08 kB / 0.7691 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.009738, allocations: 0 / 0.7691 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.00974, allocations: 0 / 0.7691 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.01001, allocations: 466 kB / 0.7696 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/0.01036, allocations: 192.1 kB / 0.7698 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.498e-05/0.0104, allocations: 63.16 kB / 0.7698 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.844e-05/0.01044, allocations: 13.86 kB / 0.7698 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.48e-05/0.01051, allocations: 59.34 kB / 0.7699 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of SimCode: time 5.71e-07/0.01051, allocations: 0 / 0.7699 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of Templates: time 0.002526/0.01304, allocations: 0.7351 MB / 0.7706 GB, free: 11.45 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.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: 4.958212391939014]