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.000997/0.000997, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001189/0.001189, allocations: 166 kB / 24.87 MB, free: 9.258 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.9921/0.9921, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.844/1.844, allocations: 359 MB / 0.6063 GB, free: 10.88 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.503e-06/1.503e-06, allocations: 0.6562 kB / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.56e-05, allocations: 4.703 kB / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001502/0.001517, allocations: 1.306 MB / 0.7895 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1231/0.1246, allocations: 130.9 MB / 0.9173 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.345e-05/0.1247, allocations: 4 kB / 0.9173 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 1.929e-05/0.1247, allocations: 0 / 0.9173 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 4.745e-05/0.1247, allocations: 7.875 kB / 0.9173 GB, free: 7.648 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.1259, allocations: 462.2 kB / 0.9178 GB, free: 7.195 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 8.686e-05/0.1259, allocations: 43.83 kB / 0.9178 GB, free: 7.152 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.635e-05/0.126, allocations: 0 / 0.9178 GB, free: 7.152 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.066e-05/0.126, allocations: 39.89 kB / 0.9179 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.1261, allocations: 15.98 kB / 0.9179 GB, free: 7.098 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.1261, allocations: 3.984 kB / 0.9179 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.1273, allocations: 0.7996 MB / 0.9187 GB, free: 6.293 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.1274, allocations: 8 kB / 0.9187 GB, free: 6.285 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 2.312e-05/0.1274, allocations: 11.97 kB / 0.9187 GB, free: 6.273 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005788/0.128, allocations: 0.5651 MB / 0.9192 GB, free: 5.707 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.128, allocations: 0 / 0.9192 GB, free: 5.707 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.193e-06/0.128, allocations: 0 / 0.9192 GB, free: 5.707 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.128, allocations: 4 kB / 0.9192 GB, free: 5.703 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.0004033/0.1284, allocations: 396.1 kB / 0.9196 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1284, allocations: 12.03 kB / 0.9196 GB, free: 5.27 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.1286, allocations: 21.17 kB / 0.9197 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.1289, allocations: 120.5 kB / 0.9198 GB, free: 5.105 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1289, allocations: 384 / 0.9198 GB, free: 5.105 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.129, allocations: 8.375 kB / 0.9198 GB, free: 5.098 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.1291, allocations: 127.3 kB / 0.9199 GB, free: 4.949 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1291, allocations: 3.938 kB / 0.9199 GB, free: 4.945 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.1291, allocations: 0 / 0.9199 GB, free: 4.945 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.1291, allocations: 4 kB / 0.9199 GB, free: 4.941 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.316e-05/0.1291, allocations: 19.91 kB / 0.9199 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.1293, allocations: 97.34 kB / 0.92 GB, free: 4.801 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.133e-05/0.1293, allocations: 58.97 kB / 0.9201 GB, free: 4.73 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.358e-05/0.1294, allocations: 23.67 kB / 0.9201 GB, free: 4.703 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004984/0.1343, allocations: 2.454 MB / 0.9225 GB, free: 2.246 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.1344, allocations: 33.39 kB / 0.9225 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1344, allocations: 4 kB / 0.9225 GB, free: 2.199 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.01647/0.1508, allocations: 6.342 MB / 0.9287 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.1509, allocations: 55.41 kB / 0.9288 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.716e-05/0.1509, allocations: 153.9 kB / 0.9289 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.1509, allocations: 29.7 kB / 0.9289 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.863e-05/0.151, allocations: 126.9 kB / 0.9291 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.151, allocations: 47.62 kB / 0.9291 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.151, allocations: 35.36 kB / 0.9291 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1511, allocations: 0.4884 MB / 0.9296 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/0.1512, allocations: 12.12 kB / 0.9296 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.581e-05/0.1512, allocations: 11.98 kB / 0.9296 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.619e-05/0.1512, allocations: 47.66 kB / 0.9297 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1512, allocations: 0 / 0.9297 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001272/0.1514, allocations: 101.5 kB / 0.9298 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.1514, allocations: 7.938 kB / 0.9298 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1514, allocations: 0 / 0.9298 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.188e-06/0.1514, allocations: 0 / 0.9298 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.466e-05/0.1515, allocations: 23.98 kB / 0.9298 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.1515, allocations: 4 kB / 0.9298 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.633e-05/0.1515, allocations: 4 kB / 0.9298 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-06/0.1515, allocations: 8 kB / 0.9298 GB, free: 10.5 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.806e-05/0.1516, allocations: 164.5 kB / 0.93 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/0.1516, allocations: 15.89 kB / 0.93 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.1518, allocations: 117.4 kB / 0.9301 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1518, allocations: 4 kB / 0.9301 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.1518, allocations: 0 / 0.9301 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1518, allocations: 4 kB / 0.9301 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.303e-05/0.1518, allocations: 113.2 kB / 0.9302 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1518, allocations: 0 / 0.9302 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.942e-05/0.1519, allocations: 27.92 kB / 0.9303 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1519, allocations: 4 kB / 0.9303 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1519, allocations: 8 kB / 0.9303 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1519, allocations: 3.984 kB / 0.9303 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1519, allocations: 3.938 kB / 0.9303 GB, free: 10 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.1521, allocations: 140.2 kB / 0.9304 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.1521, allocations: 7.984 kB / 0.9304 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.1522, allocations: 11.98 kB / 0.9304 GB, free: 9.824 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.372e-05/0.1522, allocations: 8 kB / 0.9304 GB, free: 9.816 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.1522, allocations: 7.922 kB / 0.9304 GB, free: 9.809 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.1522, allocations: 8 kB / 0.9305 GB, free: 9.801 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.206e-05/0.1523, allocations: 119.2 kB / 0.9306 GB, free: 9.684 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.1523, allocations: 4 kB / 0.9306 GB, free: 9.68 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001299/0.1536, allocations: 0.566 MB / 0.9311 GB, free: 9.113 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.002112/0.1557, allocations: 382.8 kB / 0.9315 GB, free: 8.73 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.1558, allocations: 61.33 kB / 0.9316 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1558, allocations: 0 / 0.9316 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.368e-05/0.1558, allocations: 35.61 kB / 0.9316 GB, free: 8.629 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.156, allocations: 18.17 kB / 0.9316 GB, free: 8.613 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005393/0.1565, allocations: 289.2 kB / 0.9319 GB, free: 8.305 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.592e-05/0.1566, allocations: 67.28 kB / 0.9319 GB, free: 8.219 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.87e-05/0.1566, allocations: 28.59 kB / 0.932 GB, free: 8.191 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.145e-05/0.1567, allocations: 94.19 kB / 0.9321 GB, free: 8.098 MB / 0.8855 GB Notification: Performance of SimCode: time 5.81e-07/0.1567, allocations: 4 kB / 0.9321 GB, free: 8.094 MB / 0.8855 GB Notification: Performance of Templates: time 0.03361/0.1903, allocations: 27.02 MB / 0.9585 GB, free: 13.05 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: 9.582283050287515]