Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.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.001116/0.001116, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001127/0.001127, allocations: 161 kB / 23.82 MB, free: 0.75 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.9683/0.9683, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.861/1.861, allocations: 377.9 MB / 0.6236 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 178] 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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck") translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8115 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/2.988e-05, allocations: 6.812 kB / 0.8115 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001757/0.001787, allocations: 1.318 MB / 0.8128 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1351/0.1369, allocations: 133.4 MB / 0.943 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-05/0.1369, allocations: 0 / 0.943 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.881e-05/0.137, allocations: 3.938 kB / 0.943 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.975e-05/0.137, allocations: 11.92 kB / 0.943 GB, free: 10.65 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.1381, allocations: 466.2 kB / 0.9435 GB, free: 10.19 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.318e-05/0.1381, allocations: 43.84 kB / 0.9435 GB, free: 10.15 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.778e-05/0.1382, allocations: 3.938 kB / 0.9435 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.595e-05/0.1382, allocations: 31.95 kB / 0.9436 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.1383, allocations: 11.97 kB / 0.9436 GB, free: 10.1 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.1383, allocations: 4 kB / 0.9436 GB, free: 10.1 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009693/0.1393, allocations: 0.7996 MB / 0.9444 GB, free: 9.297 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.1393, allocations: 11.92 kB / 0.9444 GB, free: 9.285 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.1393, allocations: 15.98 kB / 0.9444 GB, free: 9.27 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0005231/0.1399, allocations: 0.5574 MB / 0.9449 GB, free: 8.711 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1399, allocations: 0 / 0.9449 GB, free: 8.711 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1399, allocations: 4 kB / 0.9449 GB, free: 8.707 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.1399, allocations: 0 / 0.9449 GB, free: 8.707 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004154/0.1403, allocations: 404 kB / 0.9453 GB, free: 8.277 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1403, allocations: 8.031 kB / 0.9453 GB, free: 8.27 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.1405, allocations: 33.14 kB / 0.9454 GB, free: 8.238 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.999e-05/0.1406, allocations: 108.6 kB / 0.9455 GB, free: 8.105 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1406, allocations: 4.375 kB / 0.9455 GB, free: 8.102 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.1406, allocations: 8.375 kB / 0.9455 GB, free: 8.094 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.1408, allocations: 127.3 kB / 0.9456 GB, free: 7.945 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.1408, allocations: 3.938 kB / 0.9456 GB, free: 7.941 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1408, allocations: 4 kB / 0.9456 GB, free: 7.938 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1408, allocations: 4 kB / 0.9456 GB, free: 7.934 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.473e-05/0.1409, allocations: 23.91 kB / 0.9456 GB, free: 7.91 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.141, allocations: 116.6 kB / 0.9457 GB, free: 7.762 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.345e-05/0.1411, allocations: 47.05 kB / 0.9458 GB, free: 7.703 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.553e-05/0.1411, allocations: 23.67 kB / 0.9458 GB, free: 7.676 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005324/0.1464, allocations: 2.884 MB / 0.9486 GB, free: 4.789 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.1465, allocations: 41.31 kB / 0.9487 GB, free: 4.738 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/0.1465, allocations: 4 kB / 0.9487 GB, free: 4.734 MB / 0.9011 GB Notification: Performance of matching and sorting (n=11): time 0.01827/0.1647, allocations: 8.104 MB / 0.9566 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.1648, allocations: 51.41 kB / 0.9566 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.733e-05/0.1649, allocations: 153.9 kB / 0.9568 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.1649, allocations: 33.83 kB / 0.9568 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.1649, allocations: 126.9 kB / 0.9569 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.165, allocations: 39.69 kB / 0.957 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-05/0.165, allocations: 39.36 kB / 0.957 GB, free: 12 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1652, allocations: 492.1 kB / 0.9575 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.318e-05/0.1652, allocations: 23.92 kB / 0.9575 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.839e-05/0.1652, allocations: 19.98 kB / 0.9575 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.117e-05/0.1653, allocations: 54.42 kB / 0.9576 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1653, allocations: 0 / 0.9576 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001798/0.1655, allocations: 109.5 kB / 0.9577 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.1655, allocations: 8 kB / 0.9577 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.1655, allocations: 4 kB / 0.9577 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1656, allocations: 3.938 kB / 0.9577 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.1657, allocations: 27.92 kB / 0.9577 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1657, allocations: 0 / 0.9577 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.738e-05/0.1657, allocations: 0 / 0.9577 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.1657, allocations: 8 kB / 0.9577 GB, free: 11.25 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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 8.218e-05/0.1658, allocations: 160.6 kB / 0.9579 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.1658, allocations: 15.83 kB / 0.9579 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.166, allocations: 117.5 kB / 0.958 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.166, allocations: 3.984 kB / 0.958 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.166, allocations: 0 / 0.958 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.166, allocations: 0 / 0.958 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.665e-05/0.1661, allocations: 124.6 kB / 0.9581 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1661, allocations: 0 / 0.9581 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.633e-05/0.1662, allocations: 27.98 kB / 0.9582 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1662, allocations: 0 / 0.9582 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.1662, allocations: 3.938 kB / 0.9582 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1662, allocations: 8 kB / 0.9582 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1662, allocations: 3.938 kB / 0.9582 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.1664, allocations: 152.2 kB / 0.9583 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.1665, allocations: 11.94 kB / 0.9583 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.1665, allocations: 15.94 kB / 0.9583 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.951e-05/0.1666, allocations: 7.984 kB / 0.9583 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/0.1666, allocations: 12.02 kB / 0.9584 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.1666, allocations: 8 kB / 0.9584 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.402e-05/0.1666, allocations: 119.2 kB / 0.9585 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.1666, allocations: 4.094 kB / 0.9585 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001449/0.1681, allocations: 0.5621 MB / 0.959 GB, free: 9.836 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * 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.002084/0.1702, allocations: 374.7 kB / 0.9594 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002374/0.1704, allocations: 68.8 kB / 0.9595 GB, free: 9.387 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1704, allocations: 0 / 0.9595 GB, free: 9.387 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.862e-05/0.1704, allocations: 43.55 kB / 0.9595 GB, free: 9.34 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.1706, allocations: 22.7 kB / 0.9595 GB, free: 9.32 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006441/0.1713, allocations: 285.1 kB / 0.9598 GB, free: 9.016 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.615e-05/0.1713, allocations: 63.91 kB / 0.9599 GB, free: 8.934 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.389e-05/0.1714, allocations: 32.59 kB / 0.9599 GB, free: 8.898 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.1714, allocations: 12.5 kB / 0.9599 GB, free: 8.887 MB / 0.9167 GB Notification: Performance of SimCode: time 1.443e-06/0.1714, allocations: 0 / 0.9599 GB, free: 8.887 MB / 0.9167 GB Notification: Performance of Templates: time 0.03284/0.2042, allocations: 27.25 MB / 0.9865 GB, free: 13.62 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamDerivativeCheck.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: 9.240091213025153]