Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009572/0.0009572, 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.000989/0.000989, 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.9971/0.9971, allocations: 177.1 MB / 204.2 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.809/1.809, allocations: 359 MB / 0.6052 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Media.Examples.SteamDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.787 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.413e-05, allocations: 8.922 kB / 0.787 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002408/0.002432, allocations: 1.302 MB / 0.7883 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1249/0.1273, allocations: 133.4 MB / 0.9186 GB, free: 5.406 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.932e-05/0.1273, allocations: 0 / 0.9186 GB, free: 5.406 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 2.939e-05/0.1274, allocations: 3.938 kB / 0.9186 GB, free: 5.402 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 5.957e-05/0.1274, allocations: 7.938 kB / 0.9186 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.1285, allocations: 470.2 kB / 0.919 GB, free: 4.934 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 9.061e-05/0.1286, allocations: 43.84 kB / 0.9191 GB, free: 4.891 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.1286, allocations: 0 / 0.9191 GB, free: 4.891 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.534e-05/0.1287, allocations: 35.89 kB / 0.9191 GB, free: 4.855 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.463e-05/0.1287, allocations: 11.97 kB / 0.9191 GB, free: 4.844 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.1288, allocations: 4 kB / 0.9191 GB, free: 4.84 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009873/0.1297, allocations: 0.8035 MB / 0.9199 GB, free: 4.035 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.1298, allocations: 0 / 0.9199 GB, free: 4.035 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.1298, allocations: 23.91 kB / 0.9199 GB, free: 4.012 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005376/0.1303, allocations: 0.5613 MB / 0.9205 GB, free: 3.449 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1303, allocations: 0 / 0.9205 GB, free: 3.449 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1303, allocations: 0 / 0.9205 GB, free: 3.449 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.1303, allocations: 0 / 0.9205 GB, free: 3.449 MB / 0.8698 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.0004433/0.1308, allocations: 396.1 kB / 0.9209 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1308, allocations: 8.031 kB / 0.9209 GB, free: 3.02 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.131, allocations: 29.16 kB / 0.9209 GB, free: 2.992 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.472e-05/0.1311, allocations: 112.5 kB / 0.921 GB, free: 2.855 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.1311, allocations: 4.375 kB / 0.921 GB, free: 2.852 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.1311, allocations: 8.375 kB / 0.921 GB, free: 2.844 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.1313, allocations: 143.3 kB / 0.9211 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1313, allocations: 3.938 kB / 0.9212 GB, free: 2.676 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1313, allocations: 0 / 0.9212 GB, free: 2.676 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.1313, allocations: 4 kB / 0.9212 GB, free: 2.672 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.677e-05/0.1314, allocations: 19.97 kB / 0.9212 GB, free: 2.652 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.1315, allocations: 120.6 kB / 0.9213 GB, free: 2.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.408e-05/0.1316, allocations: 54.98 kB / 0.9213 GB, free: 2.434 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.625e-05/0.1316, allocations: 19.67 kB / 0.9214 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005522/0.1371, allocations: 2.879 MB / 0.9242 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.1372, allocations: 37.39 kB / 0.9242 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.1372, allocations: 0 / 0.9242 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.01879/0.156, allocations: 8.144 MB / 0.9322 GB, free: 7.195 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.156, allocations: 51.41 kB / 0.9322 GB, free: 7.133 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.666e-05/0.156, allocations: 161.9 kB / 0.9324 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.1561, allocations: 29.7 kB / 0.9324 GB, free: 6.922 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/0.1561, allocations: 126.9 kB / 0.9325 GB, free: 6.793 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.1561, allocations: 35.69 kB / 0.9325 GB, free: 6.758 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.1562, allocations: 39.38 kB / 0.9326 GB, free: 6.711 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1563, allocations: 496.1 kB / 0.9331 GB, free: 6.215 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.718e-05/0.1563, allocations: 16 kB / 0.9331 GB, free: 6.199 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.299e-05/0.1563, allocations: 19.11 kB / 0.9331 GB, free: 6.184 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.682e-05/0.1564, allocations: 55.67 kB / 0.9331 GB, free: 6.125 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.1564, allocations: 3.938 kB / 0.9331 GB, free: 6.121 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001465/0.1566, allocations: 105.6 kB / 0.9332 GB, free: 6.012 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1566, allocations: 8 kB / 0.9333 GB, free: 6.004 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1566, allocations: 0 / 0.9333 GB, free: 6.004 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.1566, allocations: 3.984 kB / 0.9333 GB, free: 6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.773e-05/0.1567, allocations: 24 kB / 0.9333 GB, free: 5.977 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1567, allocations: 0 / 0.9333 GB, free: 5.977 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.576e-05/0.1567, allocations: 0 / 0.9333 GB, free: 5.977 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.1567, allocations: 12 kB / 0.9333 GB, free: 5.965 MB / 0.8855 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 6.978e-05/0.1568, allocations: 168.5 kB / 0.9335 GB, free: 5.789 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.1568, allocations: 15.83 kB / 0.9335 GB, free: 5.773 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.157, allocations: 117.5 kB / 0.9336 GB, free: 5.652 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.157, allocations: 0 / 0.9336 GB, free: 5.652 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.157, allocations: 0 / 0.9336 GB, free: 5.652 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.157, allocations: 0 / 0.9336 GB, free: 5.652 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.928e-05/0.1571, allocations: 132.6 kB / 0.9337 GB, free: 5.488 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1571, allocations: 0 / 0.9337 GB, free: 5.488 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.892e-05/0.1572, allocations: 31.92 kB / 0.9337 GB, free: 5.457 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1572, allocations: 4 kB / 0.9337 GB, free: 5.453 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.1572, allocations: 3.938 kB / 0.9337 GB, free: 5.449 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1572, allocations: 4 kB / 0.9338 GB, free: 5.445 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1572, allocations: 0 / 0.9338 GB, free: 5.445 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.1574, allocations: 152.2 kB / 0.9339 GB, free: 5.273 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.983e-05/0.1574, allocations: 7.984 kB / 0.9339 GB, free: 5.266 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.1575, allocations: 11.94 kB / 0.9339 GB, free: 5.254 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.509e-05/0.1575, allocations: 4 kB / 0.9339 GB, free: 5.25 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.063e-05/0.1575, allocations: 7.984 kB / 0.9339 GB, free: 5.242 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.1575, allocations: 8 kB / 0.9339 GB, free: 5.234 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.776e-05/0.1576, allocations: 131.1 kB / 0.9341 GB, free: 5.105 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1576, allocations: 0 / 0.9341 GB, free: 5.105 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001156/0.1587, allocations: 0.5699 MB / 0.9346 GB, free: 4.535 MB / 0.8855 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.002097/0.1608, allocations: 386.8 kB / 0.935 GB, free: 4.148 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001306/0.161, allocations: 70.16 kB / 0.9351 GB, free: 4.078 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.161, allocations: 0 / 0.9351 GB, free: 4.078 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.664e-05/0.161, allocations: 36 kB / 0.9351 GB, free: 4.039 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.1612, allocations: 33.91 kB / 0.9351 GB, free: 4.008 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006273/0.1618, allocations: 293.2 kB / 0.9354 GB, free: 3.695 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.34e-05/0.1618, allocations: 63.34 kB / 0.9355 GB, free: 3.613 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.697e-05/0.1619, allocations: 24.59 kB / 0.9355 GB, free: 3.59 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.1619, allocations: 16.5 kB / 0.9355 GB, free: 3.57 MB / 0.8855 GB Notification: Performance of SimCode: time 5.91e-07/0.1619, allocations: 0 / 0.9355 GB, free: 3.57 MB / 0.8855 GB Notification: Performance of Templates: time 0.02831/0.1902, allocations: 26.09 MB / 0.961 GB, free: 9.477 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 7.486765601206571]