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.0009616/0.0009616, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00105/0.00105, allocations: 177 kB / 23.36 MB, free: 1.129 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.959/0.959, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.292/2.292, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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 2.335e-06/2.335e-06, allocations: 4 kB / 0.8385 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.292e-05/1.526e-05, allocations: 4.281 kB / 0.8385 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.004726/0.004742, allocations: 1.313 MB / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1249/0.1297, allocations: 132.8 MB / 0.9695 GB, free: 7.586 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.543e-05/0.1297, allocations: 7.875 kB / 0.9696 GB, free: 7.578 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.875e-05/0.1297, allocations: 4 kB / 0.9696 GB, free: 7.574 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.253e-05/0.1298, allocations: 4 kB / 0.9696 GB, free: 7.57 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008775/0.1306, allocations: 470.1 kB / 0.97 GB, free: 7.109 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.499e-05/0.1307, allocations: 43.78 kB / 0.97 GB, free: 7.066 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.339e-05/0.1307, allocations: 7.984 kB / 0.9701 GB, free: 7.059 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.982e-05/0.1308, allocations: 27.97 kB / 0.9701 GB, free: 7.031 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.3e-05/0.1309, allocations: 19.91 kB / 0.9701 GB, free: 7.012 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.1309, allocations: 4 kB / 0.9701 GB, free: 7.008 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000886/0.1317, allocations: 0.7957 MB / 0.9709 GB, free: 6.211 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.1318, allocations: 19.97 kB / 0.9709 GB, free: 6.191 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.817e-05/0.1318, allocations: 8 kB / 0.9709 GB, free: 6.184 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0007358/0.1325, allocations: 0.5652 MB / 0.9715 GB, free: 5.617 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1325, allocations: 4 kB / 0.9715 GB, free: 5.613 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1325, allocations: 0 / 0.9715 GB, free: 5.613 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.1325, allocations: 0 / 0.9715 GB, free: 5.613 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.0003172/0.1328, allocations: 268.4 kB / 0.9717 GB, free: 5.328 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.1329, allocations: 12.03 kB / 0.9717 GB, free: 5.316 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.133, allocations: 28.8 kB / 0.9718 GB, free: 5.289 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.551e-05/0.1331, allocations: 101.8 kB / 0.9719 GB, free: 5.164 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1331, allocations: 12.36 kB / 0.9719 GB, free: 5.152 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.1331, allocations: 8.375 kB / 0.9719 GB, free: 5.145 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.891e-05/0.1332, allocations: 119.3 kB / 0.972 GB, free: 5.004 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1332, allocations: 3.938 kB / 0.972 GB, free: 5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1332, allocations: 8 kB / 0.972 GB, free: 4.992 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1332, allocations: 0 / 0.972 GB, free: 4.992 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.594e-05/0.1333, allocations: 19.91 kB / 0.972 GB, free: 4.973 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.38e-05/0.1333, allocations: 72.98 kB / 0.9721 GB, free: 4.887 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.743e-05/0.1334, allocations: 38.62 kB / 0.9721 GB, free: 4.84 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.63e-05/0.1334, allocations: 16.86 kB / 0.9721 GB, free: 4.82 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004204/0.1376, allocations: 2.443 MB / 0.9745 GB, free: 2.375 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.1376, allocations: 34.56 kB / 0.9746 GB, free: 2.332 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.1376, allocations: 3.938 kB / 0.9746 GB, free: 2.328 MB / 0.9323 GB Notification: Performance of matching and sorting (n=11): time 0.01387/0.1515, allocations: 6.341 MB / 0.9808 GB, free: 11.86 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.1515, allocations: 51.41 kB / 0.9808 GB, free: 11.79 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.276e-05/0.1516, allocations: 102.7 kB / 0.9809 GB, free: 11.68 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.1516, allocations: 25.7 kB / 0.9809 GB, free: 11.65 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.955e-05/0.1516, allocations: 80.14 kB / 0.981 GB, free: 11.57 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.1516, allocations: 43.62 kB / 0.981 GB, free: 11.52 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.1517, allocations: 37.69 kB / 0.9811 GB, free: 11.48 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.31e-05/0.1517, allocations: 315 kB / 0.9814 GB, free: 11.16 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.1518, allocations: 11.98 kB / 0.9814 GB, free: 11.15 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.153e-05/0.1518, allocations: 19.81 kB / 0.9814 GB, free: 11.14 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.995e-05/0.1518, allocations: 44.19 kB / 0.9815 GB, free: 11.09 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1518, allocations: 4 kB / 0.9815 GB, free: 11.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.443e-05/0.1519, allocations: 73.61 kB / 0.9815 GB, free: 11.01 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.1519, allocations: 6.5 kB / 0.9815 GB, free: 11.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1519, allocations: 3.938 kB / 0.9815 GB, free: 11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1519, allocations: 7.938 kB / 0.9815 GB, free: 11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.059e-05/0.152, allocations: 23.98 kB / 0.9816 GB, free: 10.97 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.152, allocations: 0 / 0.9816 GB, free: 10.97 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.273e-05/0.152, allocations: 4 kB / 0.9816 GB, free: 10.97 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.152, allocations: 8 kB / 0.9816 GB, free: 10.96 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.033e-05/0.1521, allocations: 113.8 kB / 0.9817 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.1521, allocations: 11.92 kB / 0.9817 GB, free: 10.83 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.1522, allocations: 101.3 kB / 0.9818 GB, free: 10.72 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1522, allocations: 4 kB / 0.9818 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.1522, allocations: 4 kB / 0.9818 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1522, allocations: 3.984 kB / 0.9818 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.577e-05/0.1523, allocations: 81.88 kB / 0.9819 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1523, allocations: 0 / 0.9819 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.353e-05/0.1524, allocations: 27.92 kB / 0.9819 GB, free: 10.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.1524, allocations: 0 / 0.9819 GB, free: 10.58 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.1524, allocations: 4 kB / 0.9819 GB, free: 10.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.1524, allocations: 0 / 0.9819 GB, free: 10.58 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1524, allocations: 3.938 kB / 0.9819 GB, free: 10.57 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.1525, allocations: 113 kB / 0.982 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.073e-05/0.1526, allocations: 19.92 kB / 0.9821 GB, free: 10.43 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.1526, allocations: 4 kB / 0.9821 GB, free: 10.42 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.725e-05/0.1526, allocations: 11.98 kB / 0.9821 GB, free: 10.41 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.198e-05/0.1526, allocations: 3.938 kB / 0.9821 GB, free: 10.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.1526, allocations: 11.98 kB / 0.9821 GB, free: 10.39 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.801e-06/0.1526, allocations: 4.859 kB / 0.9821 GB, free: 10.39 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.1526, allocations: 0 / 0.9821 GB, free: 10.39 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009335/0.1536, allocations: 0.5621 MB / 0.9826 GB, free: 9.824 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.001786/0.1554, allocations: 387.8 kB / 0.983 GB, free: 9.438 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.128e-05/0.1554, allocations: 48.78 kB / 0.9831 GB, free: 9.387 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1554, allocations: 0 / 0.9831 GB, free: 9.387 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.813e-05/0.1555, allocations: 33.05 kB / 0.9831 GB, free: 9.352 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001034/0.1556, allocations: 31.92 kB / 0.9831 GB, free: 9.32 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004229/0.156, allocations: 243.4 kB / 0.9833 GB, free: 9.059 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.826e-05/0.156, allocations: 63.34 kB / 0.9834 GB, free: 8.977 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.149e-05/0.1561, allocations: 28.59 kB / 0.9834 GB, free: 8.949 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.126e-05/0.1561, allocations: 75.36 kB / 0.9835 GB, free: 8.875 MB / 0.948 GB Notification: Performance of SimCode: time 4.01e-07/0.1561, allocations: 0 / 0.9835 GB, free: 8.875 MB / 0.948 GB Notification: Performance of Templates: time 0.0269/0.183, allocations: 25.84 MB / 1.009 GB, free: 15.02 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 -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.9903062409721315]