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.001183/0.001183, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001936/0.003119, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001225/0.001225, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001542/0.002767, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.013/1.013, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1008/1.114, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.402/2.402, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2434/2.645, allocations: 145.9 MB / 0.817 GB, free: 4.207 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.503e-06/1.503e-06, allocations: 0 / 0.8183 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.163e-05/1.314e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001907/0.00192, allocations: 1.353 MB / 0.8196 GB, free: 1.562 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.1285/0.1304, allocations: 133.3 MB / 0.9497 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.952e-05/0.1304, allocations: 0 / 0.9497 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.748e-05/0.1305, allocations: 3.984 kB / 0.9497 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.157e-05/0.1305, allocations: 7.922 kB / 0.9497 GB, free: 11.78 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.00096/0.1315, allocations: 426.1 kB / 0.9501 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.705e-05/0.1316, allocations: 43.84 kB / 0.9502 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.645e-05/0.1316, allocations: 0 / 0.9502 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.228e-05/0.1317, allocations: 31.91 kB / 0.9502 GB, free: 11.29 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.211e-05/0.1318, allocations: 15.97 kB / 0.9502 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.1318, allocations: 0 / 0.9502 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.1328, allocations: 0.8465 MB / 0.951 GB, free: 10.42 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.1328, allocations: 4 kB / 0.9511 GB, free: 10.42 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.252e-05/0.1329, allocations: 11.94 kB / 0.9511 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0004749/0.1333, allocations: 423.3 kB / 0.9515 GB, free: 9.992 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.031e-05/0.1334, allocations: 0 / 0.9515 GB, free: 9.992 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.485e-06/0.1334, allocations: 0 / 0.9515 GB, free: 9.992 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.234e-05/0.1334, allocations: 0 / 0.9515 GB, free: 9.992 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.0004915/0.1339, allocations: 304.4 kB / 0.9518 GB, free: 9.672 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.1339, allocations: 8.031 kB / 0.9518 GB, free: 9.664 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/0.1341, allocations: 101.9 kB / 0.9519 GB, free: 9.547 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.366e-05/0.1342, allocations: 105.8 kB / 0.952 GB, free: 9.418 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.1342, allocations: 4.375 kB / 0.952 GB, free: 9.414 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.1342, allocations: 16.25 kB / 0.952 GB, free: 9.398 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.1343, allocations: 139.3 kB / 0.9521 GB, free: 9.238 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1343, allocations: 3.938 kB / 0.9521 GB, free: 9.234 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.1343, allocations: 0 / 0.9521 GB, free: 9.234 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1344, allocations: 0 / 0.9521 GB, free: 9.234 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.608e-05/0.1344, allocations: 15.98 kB / 0.9521 GB, free: 9.219 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.406e-05/0.1345, allocations: 61.05 kB / 0.9522 GB, free: 9.145 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 6.965e-05/0.1345, allocations: 50.62 kB / 0.9522 GB, free: 9.086 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.57e-05/0.1346, allocations: 8.859 kB / 0.9523 GB, free: 9.074 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004296/0.1389, allocations: 2.458 MB / 0.9547 GB, free: 6.613 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.1389, allocations: 30.56 kB / 0.9547 GB, free: 6.574 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.1389, allocations: 0 / 0.9547 GB, free: 6.574 MB / 0.9323 GB Notification: Performance of matching and sorting (n=11): time 0.01376/0.1526, allocations: 6.417 MB / 0.9609 GB, free: 24 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.1527, allocations: 51.41 kB / 0.961 GB, free: 15.96 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.253e-05/0.1527, allocations: 98.72 kB / 0.9611 GB, free: 15.85 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.1528, allocations: 29.7 kB / 0.9611 GB, free: 15.82 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.211e-05/0.1528, allocations: 80.14 kB / 0.9612 GB, free: 15.73 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.1528, allocations: 43.62 kB / 0.9612 GB, free: 15.69 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.1529, allocations: 37.69 kB / 0.9613 GB, free: 15.65 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.406e-05/0.1529, allocations: 310.8 kB / 0.9616 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/0.153, allocations: 12.12 kB / 0.9616 GB, free: 15.32 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.688e-05/0.153, allocations: 15.98 kB / 0.9616 GB, free: 15.31 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.438e-05/0.153, allocations: 43.31 kB / 0.9616 GB, free: 15.27 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1531, allocations: 3.938 kB / 0.9616 GB, free: 15.26 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000125/0.1532, allocations: 77.61 kB / 0.9617 GB, free: 15.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1532, allocations: 4 kB / 0.9617 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1532, allocations: 3.938 kB / 0.9617 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1532, allocations: 4 kB / 0.9617 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.242e-05/0.1533, allocations: 27.98 kB / 0.9618 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.1533, allocations: 4 kB / 0.9618 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.058e-05/0.1533, allocations: 4 kB / 0.9618 GB, free: 15.13 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.1533, allocations: 8 kB / 0.9618 GB, free: 15.12 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 8.499e-05/0.1534, allocations: 117.8 kB / 0.9619 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.1535, allocations: 15.88 kB / 0.9619 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001824/0.1537, allocations: 97.44 kB / 0.962 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1537, allocations: 0 / 0.962 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.1537, allocations: 0 / 0.962 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1537, allocations: 7.984 kB / 0.962 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.778e-05/0.1538, allocations: 77.89 kB / 0.9621 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.1538, allocations: 0 / 0.9621 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.693e-05/0.1539, allocations: 35.91 kB / 0.9621 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.1539, allocations: 8 kB / 0.9621 GB, free: 14.74 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1539, allocations: 0 / 0.9621 GB, free: 14.74 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1539, allocations: 0 / 0.9621 GB, free: 14.74 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1539, allocations: 7.938 kB / 0.9621 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1539, allocations: 3.984 kB / 0.9621 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.1541, allocations: 121.1 kB / 0.9622 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.1541, allocations: 4 kB / 0.9622 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.219e-05/0.1541, allocations: 8 kB / 0.9623 GB, free: 14.58 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.1542, allocations: 11.92 kB / 0.9623 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.1542, allocations: 7.984 kB / 0.9623 GB, free: 14.56 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.168e-05/0.1542, allocations: 12.78 kB / 0.9623 GB, free: 14.54 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.1542, allocations: 0 / 0.9623 GB, free: 14.54 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001349/0.1555, allocations: 0.5621 MB / 0.9628 GB, free: 13.98 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.001771/0.1573, allocations: 387.9 kB / 0.9632 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.1574, allocations: 51.91 kB / 0.9633 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.1574, allocations: 0 / 0.9633 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.198e-05/0.1575, allocations: 36.78 kB / 0.9633 GB, free: 13.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.1576, allocations: 23.92 kB / 0.9633 GB, free: 13.48 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009606/0.1586, allocations: 207.6 kB / 0.9635 GB, free: 13.25 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.171e-05/0.1586, allocations: 63.34 kB / 0.9636 GB, free: 13.17 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.041e-05/0.1587, allocations: 20.66 kB / 0.9636 GB, free: 13.15 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.683e-05/0.1587, allocations: 75.36 kB / 0.9637 GB, free: 13.08 MB / 0.948 GB Notification: Performance of SimCode: time 9.12e-07/0.1587, allocations: 0 / 0.9637 GB, free: 13.08 MB / 0.948 GB Notification: Performance of Templates: time 0.03031/0.189, allocations: 25.91 MB / 0.989 GB, free: 3.152 MB / 0.9636 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 -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.ref.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.973638195544481]