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.001117/0.001117, allocations: 83.59 kB / 20.45 MB, free: 4.109 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.001186/0.001186, allocations: 165 kB / 23.82 MB, free: 0.7383 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.9715/0.9715, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.801/1.801, allocations: 359 MB / 0.6052 GB, free: 11.01 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 2.485e-06/2.485e-06, allocations: 0 / 0.787 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.848e-05, allocations: 4.703 kB / 0.787 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001682/0.00171, allocations: 1.308 MB / 0.7883 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1192/0.1209, allocations: 133.4 MB / 0.9186 GB, free: 5.383 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.715e-05/0.121, allocations: 0 / 0.9186 GB, free: 5.383 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.121, allocations: 3.984 kB / 0.9186 GB, free: 5.379 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 5.199e-05/0.1211, allocations: 11.86 kB / 0.9186 GB, free: 5.367 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.1222, allocations: 470.2 kB / 0.919 GB, free: 4.906 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 7.631e-05/0.1222, allocations: 35.91 kB / 0.9191 GB, free: 4.871 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.443e-05/0.1223, allocations: 7.938 kB / 0.9191 GB, free: 4.863 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.635e-05/0.1223, allocations: 27.97 kB / 0.9191 GB, free: 4.836 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.743e-05/0.1224, allocations: 15.97 kB / 0.9191 GB, free: 4.82 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.1224, allocations: 4 kB / 0.9191 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.1234, allocations: 0.7957 MB / 0.9199 GB, free: 4.02 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.1234, allocations: 11.97 kB / 0.9199 GB, free: 4.008 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.1235, allocations: 15.94 kB / 0.9199 GB, free: 3.992 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005668/0.124, allocations: 0.5691 MB / 0.9205 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.124, allocations: 0 / 0.9205 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.353e-06/0.124, allocations: 0 / 0.9205 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.124, allocations: 0 / 0.9205 GB, free: 3.422 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.0004457/0.1245, allocations: 404 kB / 0.9209 GB, free: 2.992 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1245, allocations: 8.031 kB / 0.9209 GB, free: 2.984 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.1247, allocations: 25.16 kB / 0.9209 GB, free: 2.961 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.934e-05/0.1248, allocations: 108.6 kB / 0.921 GB, free: 2.828 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.1248, allocations: 8.375 kB / 0.921 GB, free: 2.82 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.1248, allocations: 8.375 kB / 0.921 GB, free: 2.812 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.125, allocations: 135 kB / 0.9212 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.125, allocations: 0 / 0.9212 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.125, allocations: 4 kB / 0.9212 GB, free: 2.652 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.125, allocations: 4 kB / 0.9212 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.201e-05/0.125, allocations: 15.98 kB / 0.9212 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.1252, allocations: 116.6 kB / 0.9213 GB, free: 2.484 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.205e-05/0.1252, allocations: 58.98 kB / 0.9214 GB, free: 2.414 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.298e-05/0.1253, allocations: 15.92 kB / 0.9214 GB, free: 2.395 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005537/0.1308, allocations: 2.887 MB / 0.9242 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.1308, allocations: 37.39 kB / 0.9242 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.1308, allocations: 0 / 0.9242 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.01875/0.1496, allocations: 8.112 MB / 0.9321 GB, free: 7.203 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.1496, allocations: 51.41 kB / 0.9322 GB, free: 7.141 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.195e-05/0.1497, allocations: 149.9 kB / 0.9323 GB, free: 6.977 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.1497, allocations: 29.7 kB / 0.9324 GB, free: 6.941 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.15, allocations: 134.9 kB / 0.9325 GB, free: 6.805 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.15, allocations: 39.81 kB / 0.9325 GB, free: 6.766 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.15, allocations: 35.38 kB / 0.9326 GB, free: 6.723 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1502, allocations: 0.4884 MB / 0.933 GB, free: 6.223 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.766e-05/0.1502, allocations: 15.98 kB / 0.9331 GB, free: 6.207 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.362e-05/0.1503, allocations: 16 kB / 0.9331 GB, free: 6.191 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.494e-05/0.1504, allocations: 47.67 kB / 0.9331 GB, free: 6.141 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1504, allocations: 4 kB / 0.9331 GB, free: 6.137 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001789/0.1506, allocations: 111.7 kB / 0.9332 GB, free: 6.023 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.1506, allocations: 7.984 kB / 0.9332 GB, free: 6.016 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1506, allocations: 0 / 0.9332 GB, free: 6.016 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.1506, allocations: 4 kB / 0.9332 GB, free: 6.012 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.1507, allocations: 28 kB / 0.9333 GB, free: 5.984 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.1507, allocations: 3.938 kB / 0.9333 GB, free: 5.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.1508, allocations: 4 kB / 0.9333 GB, free: 5.977 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.1508, allocations: 7.984 kB / 0.9333 GB, free: 5.969 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 9.278e-05/0.1509, allocations: 160.5 kB / 0.9334 GB, free: 5.801 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.1509, allocations: 23.83 kB / 0.9335 GB, free: 5.777 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.1511, allocations: 109.6 kB / 0.9336 GB, free: 5.664 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.1511, allocations: 4 kB / 0.9336 GB, free: 5.66 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.1511, allocations: 0 / 0.9336 GB, free: 5.66 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1511, allocations: 0 / 0.9336 GB, free: 5.66 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.1513, allocations: 124.6 kB / 0.9337 GB, free: 5.504 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1513, allocations: 0 / 0.9337 GB, free: 5.504 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.882e-05/0.1514, allocations: 23.98 kB / 0.9337 GB, free: 5.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.1514, allocations: 11.88 kB / 0.9337 GB, free: 5.469 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.1514, allocations: 4 kB / 0.9337 GB, free: 5.465 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1514, allocations: 0 / 0.9337 GB, free: 5.465 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1514, allocations: 0 / 0.9337 GB, free: 5.465 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.1516, allocations: 164.2 kB / 0.9339 GB, free: 5.281 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.1517, allocations: 11.98 kB / 0.9339 GB, free: 5.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.1517, allocations: 3.938 kB / 0.9339 GB, free: 5.266 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.975e-05/0.1518, allocations: 12 kB / 0.9339 GB, free: 5.254 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.1518, allocations: 7.984 kB / 0.9339 GB, free: 5.246 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.1518, allocations: 7.984 kB / 0.9339 GB, free: 5.238 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.422e-05/0.1519, allocations: 119.2 kB / 0.934 GB, free: 5.121 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.1519, allocations: 0 / 0.934 GB, free: 5.121 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001937/0.1538, allocations: 0.5621 MB / 0.9346 GB, free: 4.559 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.002319/0.1561, allocations: 378.7 kB / 0.9349 GB, free: 4.18 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001702/0.1563, allocations: 55.66 kB / 0.935 GB, free: 4.121 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1563, allocations: 0 / 0.935 GB, free: 4.121 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.404e-05/0.1563, allocations: 39.61 kB / 0.935 GB, free: 4.078 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.1565, allocations: 28.59 kB / 0.9351 GB, free: 4.051 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007801/0.1573, allocations: 289.2 kB / 0.9353 GB, free: 3.742 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.261e-05/0.1574, allocations: 63.34 kB / 0.9354 GB, free: 3.66 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.802e-05/0.1574, allocations: 20.61 kB / 0.9354 GB, free: 3.641 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.1575, allocations: 20.5 kB / 0.9354 GB, free: 3.617 MB / 0.8855 GB Notification: Performance of SimCode: time 9.42e-07/0.1575, allocations: 4 kB / 0.9354 GB, free: 3.613 MB / 0.8855 GB Notification: Performance of Templates: time 0.03457/0.192, allocations: 27.24 MB / 0.962 GB, free: 8.363 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.770566877909005]