Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck") translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001398, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 196.9 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.854/2.854, allocations: 437.1 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 63.89 kB / 0.8692 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7376/0.7396, allocations: 151.6 MB / 1.017 GB, free: 2.656 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002967/0.7426, allocations: 1.248 MB / 1.019 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.176/0.9186, allocations: 137.7 MB / 1.153 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.817e-05/0.9187, allocations: 0 / 1.153 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.9187, allocations: 0 / 1.153 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.913e-05/0.9188, allocations: 7.938 kB / 1.153 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.9201, allocations: 466.3 kB / 1.153 GB, free: 6.703 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 7.665e-05/0.9202, allocations: 39.89 kB / 1.153 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.9202, allocations: 4 kB / 1.153 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.145e-05/0.9203, allocations: 19.98 kB / 1.153 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.913e-05/0.9204, allocations: 19.91 kB / 1.154 GB, free: 6.621 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.9204, allocations: 8 kB / 1.154 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.9218, allocations: 0.8075 MB / 1.154 GB, free: 5.805 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.9219, allocations: 7.984 kB / 1.154 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.9219, allocations: 19.92 kB / 1.154 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005938/0.9225, allocations: 445.2 kB / 1.155 GB, free: 5.344 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.9225, allocations: 0 / 1.155 GB, free: 5.344 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9225, allocations: 0 / 1.155 GB, free: 5.344 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.9225, allocations: 0 / 1.155 GB, free: 5.344 MB / 0.9044 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.0005495/0.9231, allocations: 367.5 kB / 1.155 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.9231, allocations: 16.03 kB / 1.155 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.9233, allocations: 16.86 kB / 1.155 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.9235, allocations: 164.3 kB / 1.155 GB, free: 4.707 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.9235, allocations: 384 / 1.155 GB, free: 4.707 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.9235, allocations: 20.02 kB / 1.155 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.9237, allocations: 53.67 kB / 1.155 GB, free: 4.629 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.9237, allocations: 4 kB / 1.155 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.9237, allocations: 0 / 1.155 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.9237, allocations: 0 / 1.155 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.506e-05/0.9238, allocations: 19.98 kB / 1.155 GB, free: 4.605 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.924, allocations: 165.7 kB / 1.156 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.9241, allocations: 54.56 kB / 1.156 GB, free: 4.332 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.371e-05/0.9242, allocations: 20.8 kB / 1.156 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01157/0.9357, allocations: 3.17 MB / 1.159 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.9358, allocations: 34.56 kB / 1.159 GB, free: 1 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.9358, allocations: 0 / 1.159 GB, free: 1 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.04397/0.9798, allocations: 14.86 MB / 1.173 GB, free: 1.984 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.535e-05/0.9799, allocations: 51.41 kB / 1.173 GB, free: 1.922 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.401e-05/0.98, allocations: 109.7 kB / 1.173 GB, free: 1.805 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.98, allocations: 29.7 kB / 1.173 GB, free: 1.77 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.9801, allocations: 80.14 kB / 1.174 GB, free: 1.688 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.825e-05/0.9801, allocations: 39.45 kB / 1.174 GB, free: 1.648 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.9802, allocations: 25.72 kB / 1.174 GB, free: 1.617 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.9804, allocations: 322.8 kB / 1.174 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.542e-05/0.9804, allocations: 20 kB / 1.174 GB, free: 1.273 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.802e-05/0.9805, allocations: 23.98 kB / 1.174 GB, free: 1.25 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.9806, allocations: 64.84 kB / 1.174 GB, free: 1.184 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.9807, allocations: 4.125 kB / 1.174 GB, free: 1.18 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002204/0.9809, allocations: 102.8 kB / 1.174 GB, free: 1.074 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.9809, allocations: 8 kB / 1.174 GB, free: 1.066 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.9809, allocations: 0 / 1.174 GB, free: 1.066 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.9809, allocations: 7.922 kB / 1.174 GB, free: 1.059 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.9811, allocations: 20 kB / 1.174 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.9811, allocations: 0 / 1.174 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.749e-05/0.9811, allocations: 4 kB / 1.174 GB, free: 1.035 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.9811, allocations: 4 kB / 1.174 GB, free: 1.031 MB / 0.92 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 0.0001239/0.9813, allocations: 129.7 kB / 1.174 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.9813, allocations: 7.938 kB / 1.174 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.9816, allocations: 121.4 kB / 1.174 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.9816, allocations: 4 kB / 1.174 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.9816, allocations: 0 / 1.174 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.9816, allocations: 4 kB / 1.174 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.9818, allocations: 185.5 kB / 1.175 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9819, allocations: 0 / 1.175 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.982, allocations: 23.98 kB / 1.175 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.982, allocations: 4 kB / 1.175 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.982, allocations: 4 kB / 1.175 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.982, allocations: 4 kB / 1.175 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9821, allocations: 0 / 1.175 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.9824, allocations: 160.9 kB / 1.175 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.242e-05/0.9825, allocations: 93.05 kB / 1.175 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.9825, allocations: 0 / 1.175 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.9826, allocations: 15.98 kB / 1.175 GB, free: 196 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.9827, allocations: 7.984 kB / 1.175 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.9827, allocations: 4 kB / 1.175 GB, free: 184 kB / 0.92 GB Notification: Performance of sorting global known variables: time 4.452e-05/0.9827, allocations: 75.28 kB / 1.175 GB, free: 108 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9827, allocations: 4.094 kB / 1.175 GB, free: 104 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.001735/0.9845, allocations: 0.5663 MB / 1.175 GB, free: 15.54 MB / 0.9356 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.002646/0.9871, allocations: 343 kB / 1.176 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.9874, allocations: 75.84 kB / 1.176 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.9874, allocations: 0 / 1.176 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.031e-05/0.9875, allocations: 39.92 kB / 1.176 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.9877, allocations: 13.34 kB / 1.176 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007022/0.9884, allocations: 342.1 kB / 1.176 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/0.9888, allocations: 0.6923 MB / 1.177 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.9889, allocations: 24.53 kB / 1.177 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.058e-05/0.989, allocations: 15.44 kB / 1.177 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.989, allocations: 0 / 1.177 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of Templates: time 0.04058/1.03, allocations: 24.26 MB / 1.201 GB, free: 5.668 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches