Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007753/0.007753, allocations: 101.7 kB / 15.73 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001405, allocations: 187 kB / 16.67 MB, free: 5.883 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.559/1.559, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.442/2.442, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 66.39 kB / 0.9508 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3318, allocations: 140.4 MB / 1.088 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002421/0.3343, allocations: 1.272 MB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1619/0.4962, allocations: 137.7 MB / 1.224 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.498e-05/0.4963, allocations: 3.938 kB / 1.224 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.4963, allocations: 0 / 1.224 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.39e-05/0.4964, allocations: 3.938 kB / 1.224 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.498, allocations: 458.4 kB / 1.224 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.199e-05/0.4981, allocations: 43.83 kB / 1.224 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.4981, allocations: 8 kB / 1.224 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.827e-05/0.4982, allocations: 19.92 kB / 1.224 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.744e-05/0.4982, allocations: 19.97 kB / 1.224 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.4983, allocations: 4 kB / 1.224 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.4999, allocations: 0.8348 MB / 1.225 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.4999, allocations: 3.938 kB / 1.225 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.752e-05/0.4999, allocations: 23.91 kB / 1.225 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008174/0.5008, allocations: 439.2 kB / 1.225 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.5008, allocations: 3.938 kB / 1.225 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.406e-06/0.5008, allocations: 4 kB / 1.225 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.5008, allocations: 0 / 1.225 GB, free: 4.281 MB / 0.9825 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.0006769/0.5015, allocations: 367.5 kB / 1.226 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.5015, allocations: 8.031 kB / 1.226 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.5018, allocations: 16.83 kB / 1.226 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.5019, allocations: 172.3 kB / 1.226 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.5019, allocations: 4.375 kB / 1.226 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.5019, allocations: 8.125 kB / 1.226 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.5021, allocations: 53.67 kB / 1.226 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.5021, allocations: 0 / 1.226 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.5021, allocations: 4 kB / 1.226 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.5021, allocations: 0 / 1.226 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.103e-05/0.5022, allocations: 19.98 kB / 1.226 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.5024, allocations: 165.7 kB / 1.226 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.5026, allocations: 58.56 kB / 1.226 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.5026, allocations: 16.8 kB / 1.226 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01222/0.5148, allocations: 3.202 MB / 1.229 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.5149, allocations: 34.5 kB / 1.229 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 2.996e-06/0.5149, allocations: 4 kB / 1.229 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.04543/0.5603, allocations: 14.99 MB / 1.244 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.5604, allocations: 59.34 kB / 1.244 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.637e-05/0.5605, allocations: 97.84 kB / 1.244 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.5605, allocations: 29.7 kB / 1.244 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.547e-05/0.5606, allocations: 84.08 kB / 1.244 GB, free: 476 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.5606, allocations: 39.45 kB / 1.244 GB, free: 436 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.5607, allocations: 29.72 kB / 1.244 GB, free: 400 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.5608, allocations: 318.8 kB / 1.245 GB, free: 72 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-05/0.5608, allocations: 24 kB / 1.245 GB, free: 48 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.518e-05/0.5609, allocations: 30.86 kB / 1.245 GB, free: 20 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.5611, allocations: 60.92 kB / 1.245 GB, free: 15.95 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.5611, allocations: 3.938 kB / 1.245 GB, free: 15.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002163/0.5613, allocations: 105.6 kB / 1.245 GB, free: 15.84 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.5613, allocations: 4 kB / 1.245 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5613, allocations: 3.938 kB / 1.245 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.5614, allocations: 7.984 kB / 1.245 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.5615, allocations: 23.98 kB / 1.245 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.5615, allocations: 4 kB / 1.245 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.589e-05/0.5615, allocations: 0 / 1.245 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.5615, allocations: 12 kB / 1.245 GB, free: 15.79 MB / 1.014 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.385e-05/0.5616, allocations: 117.8 kB / 1.245 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.396e-05/0.5617, allocations: 7.906 kB / 1.245 GB, free: 15.65 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.562, allocations: 121.5 kB / 1.245 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.562, allocations: 0 / 1.245 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.562, allocations: 4 kB / 1.245 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.562, allocations: 4 kB / 1.245 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.5621, allocations: 173.5 kB / 1.245 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.5621, allocations: 4 kB / 1.245 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.5623, allocations: 31.86 kB / 1.245 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.5623, allocations: 4 kB / 1.245 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.5623, allocations: 0 / 1.245 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5623, allocations: 0 / 1.245 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5623, allocations: 0 / 1.245 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.5626, allocations: 160.9 kB / 1.246 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.775e-05/0.5627, allocations: 85.14 kB / 1.246 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.5627, allocations: 8 kB / 1.246 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.5629, allocations: 11.98 kB / 1.246 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.528e-05/0.5629, allocations: 8 kB / 1.246 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.5629, allocations: 7.984 kB / 1.246 GB, free: 14.95 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.897e-05/0.563, allocations: 79.28 kB / 1.246 GB, free: 14.88 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.11e-07/0.563, allocations: 0 / 1.246 GB, free: 14.88 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001767/0.5647, allocations: 0.5702 MB / 1.246 GB, free: 14.3 MB / 1.014 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.003419/0.5682, allocations: 356.5 kB / 1.247 GB, free: 13.95 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001847/0.5684, allocations: 67.91 kB / 1.247 GB, free: 13.88 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5684, allocations: 0 / 1.247 GB, free: 13.88 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.245e-05/0.5684, allocations: 35.92 kB / 1.247 GB, free: 13.85 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.5686, allocations: 12.03 kB / 1.247 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000619/0.5693, allocations: 357.6 kB / 1.247 GB, free: 13.46 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.5695, allocations: 0.6929 MB / 1.248 GB, free: 12.74 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.91e-05/0.5696, allocations: 20.55 kB / 1.248 GB, free: 12.72 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.5696, allocations: 19.44 kB / 1.248 GB, free: 12.7 MB / 1.014 GB Notification: Performance of SimCode: time 2.3e-07/0.5696, allocations: 3.938 kB / 1.248 GB, free: 12.7 MB / 1.014 GB Notification: Performance of Templates: time 0.6945/1.264, allocations: 24.26 MB / 1.272 GB, free: 161.1 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches