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.001465/0.001465, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001735/0.001735, allocations: 169 kB / 24.28 MB, free: 280 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 1.02/1.02, allocations: 177.1 MB / 204.6 MB, free: 5.664 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.893/1.893, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 177] 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.834e-06/1.834e-06, allocations: 0 / 0.787 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.309e-05, allocations: 4.703 kB / 0.787 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001862/0.001895, allocations: 1.304 MB / 0.7883 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1147/0.1166, allocations: 133.1 MB / 0.9183 GB, free: 6 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.1167, allocations: 0 / 0.9183 GB, free: 6 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 2.616e-05/0.1167, allocations: 4 kB / 0.9183 GB, free: 5.996 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 5.21e-05/0.1167, allocations: 0 / 0.9183 GB, free: 5.996 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.1178, allocations: 474.1 kB / 0.9188 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 7.73e-05/0.1179, allocations: 43.84 kB / 0.9188 GB, free: 5.488 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.1179, allocations: 7.984 kB / 0.9188 GB, free: 5.48 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.72e-05/0.118, allocations: 19.98 kB / 0.9188 GB, free: 5.461 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.395e-05/0.118, allocations: 23.91 kB / 0.9189 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.1181, allocations: 0 / 0.9189 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009768/0.119, allocations: 0.7996 MB / 0.9196 GB, free: 4.637 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.119, allocations: 15.98 kB / 0.9197 GB, free: 4.621 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.1191, allocations: 8 kB / 0.9197 GB, free: 4.613 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005494/0.1196, allocations: 0.569 MB / 0.9202 GB, free: 4.043 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1196, allocations: 0 / 0.9202 GB, free: 4.043 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.893e-06/0.1196, allocations: 4 kB / 0.9202 GB, free: 4.039 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.1196, allocations: 0 / 0.9202 GB, free: 4.039 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.0004109/0.12, allocations: 392.1 kB / 0.9206 GB, free: 3.621 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1201, allocations: 12.03 kB / 0.9206 GB, free: 3.609 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.1203, allocations: 21.16 kB / 0.9206 GB, free: 3.59 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.99e-05/0.1203, allocations: 120.6 kB / 0.9207 GB, free: 3.445 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1204, allocations: 384 / 0.9207 GB, free: 3.445 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.1204, allocations: 12.38 kB / 0.9208 GB, free: 3.434 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.1205, allocations: 127.3 kB / 0.9209 GB, free: 3.285 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1205, allocations: 7.938 kB / 0.9209 GB, free: 3.277 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1205, allocations: 0 / 0.9209 GB, free: 3.277 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1205, allocations: 0 / 0.9209 GB, free: 3.277 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.763e-05/0.1206, allocations: 15.98 kB / 0.9209 GB, free: 3.262 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001279/0.1207, allocations: 120.6 kB / 0.921 GB, free: 3.109 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.388e-05/0.1208, allocations: 55.11 kB / 0.9211 GB, free: 3.043 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.493e-05/0.1208, allocations: 15.69 kB / 0.9211 GB, free: 3.023 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005633/0.1265, allocations: 2.891 MB / 0.9239 GB, free: 132 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.1265, allocations: 41.33 kB / 0.9239 GB, free: 80 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.1265, allocations: 0 / 0.9239 GB, free: 80 kB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0187/0.1452, allocations: 8.141 MB / 0.9319 GB, free: 7.797 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.1452, allocations: 59.34 kB / 0.932 GB, free: 7.727 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.631e-05/0.1453, allocations: 153.9 kB / 0.9321 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.1453, allocations: 29.7 kB / 0.9321 GB, free: 7.523 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.811e-05/0.1453, allocations: 130.9 kB / 0.9323 GB, free: 7.391 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.1454, allocations: 31.7 kB / 0.9323 GB, free: 7.359 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.1454, allocations: 35.36 kB / 0.9323 GB, free: 7.316 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1455, allocations: 0.4923 MB / 0.9328 GB, free: 6.812 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.761e-05/0.1455, allocations: 19.94 kB / 0.9328 GB, free: 6.793 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.195e-05/0.1456, allocations: 15.98 kB / 0.9328 GB, free: 6.777 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.949e-05/0.1457, allocations: 53.92 kB / 0.9329 GB, free: 6.723 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1457, allocations: 4 kB / 0.9329 GB, free: 6.719 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001555/0.1458, allocations: 113.5 kB / 0.933 GB, free: 6.602 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1458, allocations: 4 kB / 0.933 GB, free: 6.598 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1458, allocations: 0 / 0.933 GB, free: 6.598 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1459, allocations: 0 / 0.933 GB, free: 6.598 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.282e-05/0.1459, allocations: 27.98 kB / 0.933 GB, free: 6.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1459, allocations: 0 / 0.933 GB, free: 6.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.508e-05/0.146, allocations: 4 kB / 0.933 GB, free: 6.566 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.146, allocations: 8 kB / 0.933 GB, free: 6.559 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.63e-05/0.146, allocations: 160.6 kB / 0.9332 GB, free: 6.391 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.1461, allocations: 27.75 kB / 0.9332 GB, free: 6.363 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.1462, allocations: 109.5 kB / 0.9333 GB, free: 6.25 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1463, allocations: 4 kB / 0.9333 GB, free: 6.246 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1463, allocations: 0 / 0.9333 GB, free: 6.246 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1463, allocations: 0 / 0.9333 GB, free: 6.246 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.503e-05/0.1464, allocations: 124.6 kB / 0.9334 GB, free: 6.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1464, allocations: 7.984 kB / 0.9334 GB, free: 6.082 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.865e-05/0.1464, allocations: 20 kB / 0.9335 GB, free: 6.062 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1464, allocations: 0 / 0.9335 GB, free: 6.062 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.1464, allocations: 15.92 kB / 0.9335 GB, free: 6.047 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.1464, allocations: 0 / 0.9335 GB, free: 6.047 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1465, allocations: 3.938 kB / 0.9335 GB, free: 6.043 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.1466, allocations: 148.3 kB / 0.9336 GB, free: 5.875 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/0.1467, allocations: 7.984 kB / 0.9336 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.1467, allocations: 7.922 kB / 0.9336 GB, free: 5.859 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.754e-05/0.1468, allocations: 11.94 kB / 0.9337 GB, free: 5.848 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.912e-05/0.1468, allocations: 11.98 kB / 0.9337 GB, free: 5.836 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.1468, allocations: 8.047 kB / 0.9337 GB, free: 5.828 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.764e-05/0.1468, allocations: 123.2 kB / 0.9338 GB, free: 5.707 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.1468, allocations: 0 / 0.9338 GB, free: 5.707 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00123/0.148, allocations: 0.566 MB / 0.9343 GB, free: 5.141 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.002025/0.1501, allocations: 394.7 kB / 0.9347 GB, free: 4.746 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001256/0.1502, allocations: 60.41 kB / 0.9348 GB, free: 4.684 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1502, allocations: 0 / 0.9348 GB, free: 4.684 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.818e-05/0.1502, allocations: 39.61 kB / 0.9348 GB, free: 4.641 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.1504, allocations: 32.05 kB / 0.9348 GB, free: 4.609 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000626/0.151, allocations: 285.7 kB / 0.9351 GB, free: 4.305 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.437e-05/0.1511, allocations: 63.34 kB / 0.9352 GB, free: 4.223 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.194e-05/0.1511, allocations: 24.61 kB / 0.9352 GB, free: 4.199 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.1512, allocations: 16.5 kB / 0.9352 GB, free: 4.18 MB / 0.8855 GB Notification: Performance of SimCode: time 6.21e-07/0.1512, allocations: 0 / 0.9352 GB, free: 4.18 MB / 0.8855 GB Notification: Performance of Templates: time 0.03141/0.1826, allocations: 26.11 MB / 0.9607 GB, free: 10.07 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.480511513072997]