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.0009246/0.0009246, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009739/0.0009739, allocations: 161 kB / 24.17 MB, free: 332 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.017/1.017, allocations: 177.2 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.854/1.854, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.563e-06/1.563e-06, allocations: 0 / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.425e-05, allocations: 3.078 kB / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.00257/0.002594, allocations: 1.319 MB / 0.7613 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1261/0.1287, allocations: 132.9 MB / 0.891 GB, free: 176 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.119e-05/0.1287, allocations: 0 / 0.891 GB, free: 176 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.592e-05/0.1287, allocations: 3.984 kB / 0.891 GB, free: 172 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.814e-05/0.1288, allocations: 3.938 kB / 0.891 GB, free: 168 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.1299, allocations: 482.1 kB / 0.8915 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.09e-05/0.13, allocations: 35.86 kB / 0.8915 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.729e-05/0.13, allocations: 7.984 kB / 0.8915 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.296e-05/0.13, allocations: 31.91 kB / 0.8915 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.523e-05/0.1301, allocations: 15.97 kB / 0.8915 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.1301, allocations: 4 kB / 0.8916 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000991/0.1311, allocations: 0.7996 MB / 0.8923 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.1311, allocations: 4 kB / 0.8923 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.217e-05/0.1312, allocations: 19.98 kB / 0.8924 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005278/0.1317, allocations: 0.5652 MB / 0.8929 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1317, allocations: 0 / 0.8929 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1317, allocations: 4 kB / 0.8929 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.1317, allocations: 0 / 0.8929 GB, free: 14.2 MB / 0.8542 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.0003513/0.132, allocations: 268.4 kB / 0.8932 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.1321, allocations: 8.031 kB / 0.8932 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.1322, allocations: 28.8 kB / 0.8932 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.046e-05/0.1323, allocations: 102.1 kB / 0.8933 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1323, allocations: 8.359 kB / 0.8933 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.1323, allocations: 16.25 kB / 0.8933 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.1324, allocations: 123.3 kB / 0.8934 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1324, allocations: 7.938 kB / 0.8934 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.1324, allocations: 8 kB / 0.8935 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1324, allocations: 0 / 0.8935 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.93e-05/0.1325, allocations: 15.92 kB / 0.8935 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.721e-05/0.1325, allocations: 65.05 kB / 0.8935 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.211e-05/0.1326, allocations: 42.62 kB / 0.8936 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.356e-05/0.1326, allocations: 12.8 kB / 0.8936 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004209/0.1368, allocations: 2.447 MB / 0.896 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1369, allocations: 38.55 kB / 0.896 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.1369, allocations: 0 / 0.896 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.01426/0.1511, allocations: 6.345 MB / 0.9022 GB, free: 4.441 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.1512, allocations: 59.39 kB / 0.9023 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.012e-05/0.1512, allocations: 98.72 kB / 0.9024 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1512, allocations: 25.7 kB / 0.9024 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.662e-05/0.1513, allocations: 80.14 kB / 0.9025 GB, free: 4.148 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.1513, allocations: 39.67 kB / 0.9025 GB, free: 4.109 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.1514, allocations: 29.72 kB / 0.9025 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.45e-05/0.1514, allocations: 318.8 kB / 0.9028 GB, free: 3.754 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.1515, allocations: 8 kB / 0.9028 GB, free: 3.746 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-05/0.1515, allocations: 15.98 kB / 0.9029 GB, free: 3.73 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.807e-05/0.1516, allocations: 44.58 kB / 0.9029 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1516, allocations: 4.125 kB / 0.9029 GB, free: 3.684 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001542/0.1517, allocations: 81.5 kB / 0.903 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.1517, allocations: 7.984 kB / 0.903 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1517, allocations: 3.938 kB / 0.903 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.1518, allocations: 0 / 0.903 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.287e-05/0.1519, allocations: 24 kB / 0.903 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1519, allocations: 0 / 0.903 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.864e-05/0.1519, allocations: 4 kB / 0.903 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.1519, allocations: 7.984 kB / 0.903 GB, free: 3.551 MB / 0.8542 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 8.879e-05/0.152, allocations: 117.8 kB / 0.9031 GB, free: 3.426 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.152, allocations: 11.94 kB / 0.9031 GB, free: 3.414 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001872/0.1522, allocations: 101.4 kB / 0.9032 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1522, allocations: 0 / 0.9032 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1522, allocations: 0 / 0.9032 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.1522, allocations: 3.984 kB / 0.9032 GB, free: 3.305 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.991e-05/0.1523, allocations: 77.89 kB / 0.9033 GB, free: 3.211 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1523, allocations: 0 / 0.9033 GB, free: 3.211 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.927e-05/0.1524, allocations: 31.92 kB / 0.9034 GB, free: 3.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1524, allocations: 0 / 0.9034 GB, free: 3.18 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.1524, allocations: 4 kB / 0.9034 GB, free: 3.176 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1524, allocations: 4 kB / 0.9034 GB, free: 3.172 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1524, allocations: 4.016 kB / 0.9034 GB, free: 3.168 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.1526, allocations: 109 kB / 0.9035 GB, free: 3.043 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.1527, allocations: 7.953 kB / 0.9035 GB, free: 3.035 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.1527, allocations: 7.984 kB / 0.9035 GB, free: 3.027 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.139e-05/0.1527, allocations: 8 kB / 0.9035 GB, free: 3.02 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/0.1527, allocations: 15.86 kB / 0.9035 GB, free: 3.004 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.1528, allocations: 8 kB / 0.9035 GB, free: 2.996 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.845e-05/0.1528, allocations: 8.844 kB / 0.9035 GB, free: 2.984 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1528, allocations: 3.938 kB / 0.9035 GB, free: 2.98 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00163/0.1544, allocations: 0.5621 MB / 0.9041 GB, free: 2.418 MB / 0.8542 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.00196/0.1564, allocations: 387.9 kB / 0.9044 GB, free: 2.031 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.833e-05/0.1565, allocations: 44.84 kB / 0.9045 GB, free: 1.984 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1565, allocations: 0 / 0.9045 GB, free: 1.984 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.798e-05/0.1565, allocations: 36.78 kB / 0.9045 GB, free: 1.945 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.1566, allocations: 26 kB / 0.9045 GB, free: 1.922 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.1571, allocations: 247.4 kB / 0.9048 GB, free: 1.656 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.133e-05/0.1571, allocations: 63.22 kB / 0.9048 GB, free: 1.574 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.366e-05/0.1572, allocations: 24.59 kB / 0.9049 GB, free: 1.551 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.249e-05/0.1572, allocations: 71.36 kB / 0.9049 GB, free: 1.48 MB / 0.8542 GB Notification: Performance of SimCode: time 4.51e-07/0.1572, allocations: 0 / 0.9049 GB, free: 1.48 MB / 0.8542 GB Notification: Performance of Templates: time 0.02919/0.1864, allocations: 25.84 MB / 0.9302 GB, free: 7.629 MB / 0.8855 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.660844780039042]