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.001401/0.001401, allocations: 79.28 kB / 19.18 MB, free: 2.52 MB / 14.72 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.00154/0.00154, allocations: 166.9 kB / 22.46 MB, free: 5.371 MB / 14.72 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.479/1.479, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.929/2.929, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.593e-06/1.593e-06, allocations: 3.938 kB / 1 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.615e-05, allocations: 6.219 kB / 1 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002392/0.002418, allocations: 1.28 MB / 1.001 GB, free: 6.055 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1619/0.1643, allocations: 120.9 MB / 1.119 GB, free: 12.67 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.885e-05/0.1643, allocations: 0 / 1.119 GB, free: 12.67 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.759e-05/0.1643, allocations: 7.875 kB / 1.119 GB, free: 12.66 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.987e-05/0.1644, allocations: 3.984 kB / 1.119 GB, free: 12.66 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.1657, allocations: 470.2 kB / 1.12 GB, free: 12.2 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.1659, allocations: 39.84 kB / 1.12 GB, free: 12.16 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.1659, allocations: 3.938 kB / 1.12 GB, free: 12.15 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.008e-05/0.166, allocations: 31.95 kB / 1.12 GB, free: 12.12 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.263e-05/0.1661, allocations: 19.97 kB / 1.12 GB, free: 12.1 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.1661, allocations: 3.938 kB / 1.12 GB, free: 12.1 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.1677, allocations: 0.7996 MB / 1.121 GB, free: 11.3 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.1677, allocations: 7.984 kB / 1.121 GB, free: 11.29 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.1678, allocations: 11.98 kB / 1.121 GB, free: 11.28 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00088/0.1686, allocations: 0.5652 MB / 1.121 GB, free: 10.71 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1686, allocations: 0 / 1.121 GB, free: 10.71 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1686, allocations: 0 / 1.121 GB, free: 10.71 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.1686, allocations: 0 / 1.121 GB, free: 10.71 MB / 1.076 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.0007237/0.1694, allocations: 298.1 kB / 1.122 GB, free: 10.39 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.1694, allocations: 12.03 kB / 1.122 GB, free: 10.38 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/0.1696, allocations: 16.89 kB / 1.122 GB, free: 10.36 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.1697, allocations: 101.8 kB / 1.122 GB, free: 10.24 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.1697, allocations: 4.359 kB / 1.122 GB, free: 10.23 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.1698, allocations: 8.375 kB / 1.122 GB, free: 10.23 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.17, allocations: 135.3 kB / 1.122 GB, free: 10.07 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.17, allocations: 3.938 kB / 1.122 GB, free: 10.07 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.17, allocations: 7.984 kB / 1.122 GB, free: 10.06 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.17, allocations: 4 kB / 1.122 GB, free: 10.05 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.682e-05/0.1701, allocations: 19.92 kB / 1.122 GB, free: 10.04 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.1703, allocations: 105.3 kB / 1.122 GB, free: 9.902 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.1704, allocations: 46.56 kB / 1.122 GB, free: 9.848 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.238e-05/0.1704, allocations: 16.84 kB / 1.122 GB, free: 9.828 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01188/0.1823, allocations: 2.872 MB / 1.125 GB, free: 6.953 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/0.1823, allocations: 38.56 kB / 1.125 GB, free: 6.906 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1823, allocations: 0 / 1.125 GB, free: 6.906 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.6417/0.824, allocations: 14.93 MB / 1.139 GB, free: 174 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.8241, allocations: 51.41 kB / 1.14 GB, free: 174 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.804e-05/0.8241, allocations: 99.97 kB / 1.14 GB, free: 173.9 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.8241, allocations: 25.7 kB / 1.14 GB, free: 173.9 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.006e-05/0.8241, allocations: 82.95 kB / 1.14 GB, free: 173.8 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.8242, allocations: 39.56 kB / 1.14 GB, free: 173.7 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.8242, allocations: 31.97 kB / 1.14 GB, free: 173.7 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.797e-05/0.8243, allocations: 318.2 kB / 1.14 GB, free: 173.4 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.179e-05/0.8243, allocations: 25.92 kB / 1.14 GB, free: 173.4 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.068e-05/0.8244, allocations: 25.44 kB / 1.14 GB, free: 173.4 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.8245, allocations: 60.25 kB / 1.14 GB, free: 173.4 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.8245, allocations: 0 / 1.14 GB, free: 173.4 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002003/0.8247, allocations: 107.3 kB / 1.14 GB, free: 173.4 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.8247, allocations: 5.438 kB / 1.14 GB, free: 173.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.8247, allocations: 0 / 1.14 GB, free: 173.4 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.8247, allocations: 2.594 kB / 1.14 GB, free: 173.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.8248, allocations: 25.77 kB / 1.14 GB, free: 173.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.8248, allocations: 0 / 1.14 GB, free: 173.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.684e-05/0.8249, allocations: 10.94 kB / 1.14 GB, free: 173.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.8249, allocations: 5.906 kB / 1.14 GB, free: 173.4 MB / 1.076 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 6.078e-05/0.8249, allocations: 113.3 kB / 1.14 GB, free: 173.2 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.825, allocations: 13.36 kB / 1.14 GB, free: 173.2 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.8252, allocations: 128.7 kB / 1.141 GB, free: 173.2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.8252, allocations: 0 / 1.141 GB, free: 173.2 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8252, allocations: 4 kB / 1.141 GB, free: 173.2 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.8252, allocations: 0 / 1.141 GB, free: 173.2 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.804e-05/0.8253, allocations: 118.2 kB / 1.141 GB, free: 173 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8253, allocations: 0 / 1.141 GB, free: 173 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.8255, allocations: 35.47 kB / 1.141 GB, free: 173 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.8255, allocations: 2.5 kB / 1.141 GB, free: 173 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.8255, allocations: 2.938 kB / 1.141 GB, free: 173 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.8255, allocations: 0 / 1.141 GB, free: 173 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8255, allocations: 0.6562 kB / 1.141 GB, free: 173 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.8257, allocations: 157.4 kB / 1.141 GB, free: 172.9 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.8258, allocations: 13.06 kB / 1.141 GB, free: 172.9 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.8258, allocations: 11.83 kB / 1.141 GB, free: 172.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.826, allocations: 11.97 kB / 1.141 GB, free: 172.9 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.826, allocations: 10.59 kB / 1.141 GB, free: 172.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.826, allocations: 2.812 kB / 1.141 GB, free: 172.9 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.03e-05/0.826, allocations: 78.38 kB / 1.141 GB, free: 172.8 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.826, allocations: 0 / 1.141 GB, free: 172.8 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001689/0.8277, allocations: 0.5733 MB / 1.142 GB, free: 172.8 MB / 1.076 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.003017/0.8307, allocations: 391.8 kB / 1.142 GB, free: 172.7 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001745/0.8309, allocations: 66.61 kB / 1.142 GB, free: 172.7 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.8309, allocations: 0 / 1.142 GB, free: 172.7 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.716e-05/0.8309, allocations: 32.11 kB / 1.142 GB, free: 172.7 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.8311, allocations: 7.25 kB / 1.142 GB, free: 172.7 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005131/0.8317, allocations: 282.4 kB / 1.142 GB, free: 172.4 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.72e-05/0.8317, allocations: 75.75 kB / 1.142 GB, free: 172.4 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.426e-05/0.8318, allocations: 23.92 kB / 1.142 GB, free: 172.4 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.8318, allocations: 18.47 kB / 1.142 GB, free: 172.3 MB / 1.076 GB Notification: Performance of SimCode: time 5.11e-07/0.8318, allocations: 0 / 1.142 GB, free: 172.3 MB / 1.076 GB Notification: Performance of Templates: time 0.04761/0.8794, allocations: 24.3 MB / 1.166 GB, free: 171.3 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.845747493207455]