Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009692/0.0009692, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.00112/0.00112, allocations: 173 kB / 23.36 MB, free: 1.133 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 1.041/1.041, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.419/2.419, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Media.Examples.SteamDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.738e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.003909/0.003926, allocations: 1.367 MB / 0.8399 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1213/0.1253, allocations: 132.8 MB / 0.9696 GB, free: 7.461 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.598e-05/0.1253, allocations: 0 / 0.9696 GB, free: 7.461 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.1253, allocations: 3.938 kB / 0.9696 GB, free: 7.457 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.19e-05/0.1254, allocations: 11.92 kB / 0.9696 GB, free: 7.445 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.1264, allocations: 422.1 kB / 0.97 GB, free: 7.031 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.821e-05/0.1265, allocations: 51.83 kB / 0.9701 GB, free: 6.98 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.372e-05/0.1265, allocations: 0 / 0.9701 GB, free: 6.98 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.291e-05/0.1266, allocations: 31.95 kB / 0.9701 GB, free: 6.949 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.059e-05/0.1267, allocations: 11.98 kB / 0.9701 GB, free: 6.938 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.1267, allocations: 0 / 0.9701 GB, free: 6.938 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.128, allocations: 0.8464 MB / 0.971 GB, free: 6.09 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.128, allocations: 11.98 kB / 0.971 GB, free: 6.078 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.128, allocations: 15.97 kB / 0.971 GB, free: 6.062 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0005907/0.1286, allocations: 0.5613 MB / 0.9715 GB, free: 5.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1286, allocations: 0 / 0.9715 GB, free: 5.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1286, allocations: 0 / 0.9715 GB, free: 5.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.1286, allocations: 0 / 0.9715 GB, free: 5.5 MB / 0.9323 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.0003488/0.1289, allocations: 276.4 kB / 0.9718 GB, free: 5.207 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.129, allocations: 16.03 kB / 0.9718 GB, free: 5.191 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.1292, allocations: 24.8 kB / 0.9718 GB, free: 5.168 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.897e-05/0.1292, allocations: 105.7 kB / 0.9719 GB, free: 5.039 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1292, allocations: 4.375 kB / 0.9719 GB, free: 5.035 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.1293, allocations: 8.375 kB / 0.972 GB, free: 5.027 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.1294, allocations: 127.3 kB / 0.9721 GB, free: 4.879 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.1294, allocations: 7.922 kB / 0.9721 GB, free: 4.871 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.1294, allocations: 0 / 0.9721 GB, free: 4.871 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1294, allocations: 4 kB / 0.9721 GB, free: 4.867 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.999e-05/0.1295, allocations: 15.98 kB / 0.9721 GB, free: 4.852 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001025/0.1296, allocations: 80.97 kB / 0.9722 GB, free: 4.758 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 7.723e-05/0.1296, allocations: 42.5 kB / 0.9722 GB, free: 4.707 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.741e-05/0.1297, allocations: 12.86 kB / 0.9722 GB, free: 4.691 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005803/0.1355, allocations: 2.447 MB / 0.9746 GB, free: 2.242 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1355, allocations: 34.56 kB / 0.9747 GB, free: 2.199 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.1355, allocations: 0 / 0.9747 GB, free: 2.199 MB / 0.9323 GB Notification: Performance of matching and sorting (n=11): time 0.01898/0.1545, allocations: 6.333 MB / 0.9808 GB, free: 11.73 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.1545, allocations: 55.41 kB / 0.9809 GB, free: 11.67 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.733e-05/0.1545, allocations: 98.7 kB / 0.981 GB, free: 11.56 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.1546, allocations: 37.83 kB / 0.981 GB, free: 11.52 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.714e-05/0.1546, allocations: 80.14 kB / 0.9811 GB, free: 11.43 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.1546, allocations: 39.64 kB / 0.9811 GB, free: 11.39 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.1547, allocations: 29.69 kB / 0.9812 GB, free: 11.36 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.65e-05/0.1547, allocations: 318.8 kB / 0.9815 GB, free: 11.04 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.101e-05/0.1548, allocations: 15.98 kB / 0.9815 GB, free: 11.02 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.923e-05/0.1548, allocations: 12 kB / 0.9815 GB, free: 11.01 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.37e-05/0.1549, allocations: 44.7 kB / 0.9815 GB, free: 10.96 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1549, allocations: 0 / 0.9815 GB, free: 10.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001423/0.155, allocations: 77.61 kB / 0.9816 GB, free: 10.88 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.155, allocations: 4 kB / 0.9816 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.155, allocations: 7.938 kB / 0.9816 GB, free: 10.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.155, allocations: 0 / 0.9816 GB, free: 10.87 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.148e-05/0.1551, allocations: 31.92 kB / 0.9817 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.1551, allocations: 0 / 0.9817 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.947e-05/0.1551, allocations: 4 kB / 0.9817 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.1551, allocations: 0 / 0.9817 GB, free: 10.84 MB / 0.948 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 5.998e-05/0.1552, allocations: 117.8 kB / 0.9818 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/0.1553, allocations: 15.92 kB / 0.9818 GB, free: 10.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.1554, allocations: 101.4 kB / 0.9819 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1554, allocations: 7.938 kB / 0.9819 GB, free: 10.58 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.1554, allocations: 0 / 0.9819 GB, free: 10.58 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1554, allocations: 0 / 0.9819 GB, free: 10.58 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.791e-05/0.1555, allocations: 77.89 kB / 0.982 GB, free: 10.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1555, allocations: 0 / 0.982 GB, free: 10.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.744e-05/0.1556, allocations: 27.98 kB / 0.982 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.1556, allocations: 0 / 0.982 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1556, allocations: 7.938 kB / 0.982 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1556, allocations: 4 kB / 0.982 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1556, allocations: 3.938 kB / 0.982 GB, free: 10.44 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.1558, allocations: 117 kB / 0.9821 GB, free: 10.31 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.1558, allocations: 15.94 kB / 0.9821 GB, free: 10.29 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.1558, allocations: 0 / 0.9821 GB, free: 10.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.937e-05/0.1559, allocations: 11.98 kB / 0.9821 GB, free: 10.28 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.1559, allocations: 11.92 kB / 0.9822 GB, free: 10.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.1559, allocations: 4 kB / 0.9822 GB, free: 10.27 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.087e-06/0.1559, allocations: 8.859 kB / 0.9822 GB, free: 10.25 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1559, allocations: 4.094 kB / 0.9822 GB, free: 10.25 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009887/0.1569, allocations: 0.5582 MB / 0.9827 GB, free: 9.691 MB / 0.948 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.002269/0.1592, allocations: 387.8 kB / 0.9831 GB, free: 9.305 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.1593, allocations: 56.02 kB / 0.9831 GB, free: 9.25 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1593, allocations: 0 / 0.9831 GB, free: 9.25 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.272e-05/0.1593, allocations: 33.11 kB / 0.9832 GB, free: 9.215 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.1595, allocations: 23.44 kB / 0.9832 GB, free: 9.195 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005539/0.16, allocations: 247.4 kB / 0.9834 GB, free: 8.93 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.1602, allocations: 63.34 kB / 0.9835 GB, free: 8.848 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 8.353e-05/0.1603, allocations: 28.58 kB / 0.9835 GB, free: 8.82 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.862e-05/0.1604, allocations: 79.36 kB / 0.9836 GB, free: 8.742 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/0.1604, allocations: 0 / 0.9836 GB, free: 8.742 MB / 0.948 GB Notification: Performance of Templates: time 0.02437/0.1847, allocations: 25.85 MB / 1.009 GB, free: 14.87 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.998956019058824]