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.0009532/0.0009532, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.001663/0.001663, allocations: 181 kB / 24.09 MB, free: 416 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.9858/0.9858, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.871/1.871, allocations: 377.9 MB / 0.6239 GB, free: 8.434 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.773e-06/1.773e-06, allocations: 0 / 0.8119 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.752e-05, allocations: 2.312 kB / 0.8119 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002399/0.002417, allocations: 1.315 MB / 0.8132 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1113/0.1137, allocations: 130.9 MB / 0.941 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.966e-05/0.1137, allocations: 0 / 0.941 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.1138, allocations: 4 kB / 0.941 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.589e-05/0.1138, allocations: 11.91 kB / 0.941 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.1148, allocations: 466.1 kB / 0.9415 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.229e-05/0.1149, allocations: 43.84 kB / 0.9415 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.256e-05/0.1149, allocations: 4 kB / 0.9415 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.601e-05/0.115, allocations: 23.97 kB / 0.9415 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.1151, allocations: 19.97 kB / 0.9416 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.1151, allocations: 0 / 0.9416 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000974/0.1161, allocations: 0.8035 MB / 0.9423 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.1161, allocations: 15.97 kB / 0.9424 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.353e-05/0.1161, allocations: 8 kB / 0.9424 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0005414/0.1166, allocations: 0.569 MB / 0.9429 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1166, allocations: 0 / 0.9429 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.143e-06/0.1166, allocations: 4 kB / 0.9429 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.1166, allocations: 0 / 0.9429 GB, free: 10.95 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.0003832/0.117, allocations: 396.1 kB / 0.9433 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1171, allocations: 12.03 kB / 0.9433 GB, free: 10.51 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.1172, allocations: 17.17 kB / 0.9433 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.362e-05/0.1173, allocations: 120.5 kB / 0.9435 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1173, allocations: 4.375 kB / 0.9435 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.1173, allocations: 12.36 kB / 0.9435 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.1174, allocations: 127.3 kB / 0.9436 GB, free: 10.19 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.1174, allocations: 3.938 kB / 0.9436 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-06/0.1174, allocations: 0 / 0.9436 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1174, allocations: 4 kB / 0.9436 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.245e-05/0.1175, allocations: 15.97 kB / 0.9436 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000104/0.1176, allocations: 101.3 kB / 0.9437 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.395e-05/0.1176, allocations: 59.09 kB / 0.9438 GB, free: 9.969 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.434e-05/0.1176, allocations: 11.69 kB / 0.9438 GB, free: 9.953 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004838/0.1225, allocations: 2.466 MB / 0.9462 GB, free: 7.484 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.1225, allocations: 37.39 kB / 0.9462 GB, free: 7.438 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.1225, allocations: 0 / 0.9462 GB, free: 7.438 MB / 0.9011 GB Notification: Performance of matching and sorting (n=11): time 0.01549/0.138, allocations: 6.342 MB / 0.9524 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.138, allocations: 55.34 kB / 0.9525 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.372e-05/0.1381, allocations: 153.9 kB / 0.9526 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.1381, allocations: 29.7 kB / 0.9526 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.8e-05/0.1381, allocations: 126.9 kB / 0.9528 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.1382, allocations: 43.62 kB / 0.9528 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.1382, allocations: 35.38 kB / 0.9528 GB, free: 484 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1383, allocations: 0.4884 MB / 0.9533 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.076e-05/0.1383, allocations: 16.11 kB / 0.9533 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.968e-05/0.1384, allocations: 15 kB / 0.9533 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.366e-05/0.1384, allocations: 47.61 kB / 0.9534 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1384, allocations: 0 / 0.9534 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001346/0.1386, allocations: 97.52 kB / 0.9535 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1386, allocations: 18.11 kB / 0.9535 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.1386, allocations: 4 kB / 0.9535 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1386, allocations: 0 / 0.9535 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.713e-05/0.1387, allocations: 24 kB / 0.9535 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.1387, allocations: 0 / 0.9535 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.435e-05/0.1387, allocations: 0 / 0.9535 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1387, allocations: 11.98 kB / 0.9535 GB, free: 15.74 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 6.671e-05/0.1388, allocations: 164.6 kB / 0.9537 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.559e-05/0.1388, allocations: 19.83 kB / 0.9537 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.139, allocations: 113.5 kB / 0.9538 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.139, allocations: 0 / 0.9538 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.139, allocations: 0 / 0.9538 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.139, allocations: 7.938 kB / 0.9538 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.287e-05/0.1391, allocations: 113.2 kB / 0.9539 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1391, allocations: 0 / 0.9539 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.133e-05/0.1391, allocations: 27.98 kB / 0.954 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.1391, allocations: 3.984 kB / 0.954 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.1391, allocations: 0 / 0.954 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.1391, allocations: 4 kB / 0.954 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1391, allocations: 3.938 kB / 0.954 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.1393, allocations: 144.2 kB / 0.9541 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.376e-05/0.1393, allocations: 11.98 kB / 0.9541 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.1394, allocations: 4 kB / 0.9541 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.157e-05/0.1394, allocations: 8 kB / 0.9541 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.1394, allocations: 15.92 kB / 0.9542 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.1394, allocations: 7.938 kB / 0.9542 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.122e-05/0.1395, allocations: 123.2 kB / 0.9543 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1395, allocations: 0 / 0.9543 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001252/0.1407, allocations: 0.5621 MB / 0.9548 GB, free: 14.36 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.001903/0.1426, allocations: 378.8 kB / 0.9552 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001048/0.1427, allocations: 57.78 kB / 0.9552 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1427, allocations: 4 kB / 0.9552 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.35e-05/0.1428, allocations: 39.59 kB / 0.9553 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.1429, allocations: 23.98 kB / 0.9553 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.1434, allocations: 289 kB / 0.9556 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.722e-05/0.1435, allocations: 55.36 kB / 0.9556 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.799e-05/0.1435, allocations: 28.59 kB / 0.9557 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.775e-05/0.1436, allocations: 102.2 kB / 0.9558 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of SimCode: time 9.21e-07/0.1436, allocations: 0 / 0.9558 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of Templates: time 0.03203/0.1756, allocations: 27.02 MB / 0.9821 GB, free: 2.293 MB / 0.9323 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: 5.618421291001141]