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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001635/0.001635, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002019/0.002019, allocations: 195.1 kB / 16.14 MB, free: 6.691 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.427/1.427, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.803/2.803, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 60.66 kB / 0.8984 GB, free: 37.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3614, allocations: 157.4 MB / 1.052 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002339/0.3638, allocations: 1.313 MB / 1.053 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1557/0.5195, allocations: 135.7 MB / 1.186 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.134e-05/0.5196, allocations: 3.938 kB / 1.186 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.385e-05/0.5196, allocations: 7.922 kB / 1.186 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.169e-05/0.5197, allocations: 0 / 1.186 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.5208, allocations: 374.8 kB / 1.186 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.864e-05/0.5209, allocations: 35.86 kB / 1.186 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.5209, allocations: 0 / 1.186 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.425e-05/0.5209, allocations: 27.91 kB / 1.186 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.206e-05/0.521, allocations: 15.98 kB / 1.186 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.521, allocations: 4 kB / 1.186 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.5224, allocations: 0.8114 MB / 1.187 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.5224, allocations: 15.92 kB / 1.187 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.5225, allocations: 15.98 kB / 1.187 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005708/0.523, allocations: 447.4 kB / 1.188 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.523, allocations: 0 / 1.188 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.42e-07/0.5231, allocations: 0 / 1.188 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.5231, allocations: 0 / 1.188 GB, free: 13.62 MB / 0.9512 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.0005036/0.5236, allocations: 375.4 kB / 1.188 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.5236, allocations: 12.03 kB / 1.188 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.5238, allocations: 12.92 kB / 1.188 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.5239, allocations: 172.2 kB / 1.188 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.524, allocations: 4.312 kB / 1.188 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.524, allocations: 16.12 kB / 1.188 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.5242, allocations: 53.67 kB / 1.188 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.5242, allocations: 4 kB / 1.188 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.5242, allocations: 4 kB / 1.188 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.5242, allocations: 0 / 1.188 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.167e-05/0.5243, allocations: 19.98 kB / 1.188 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.5245, allocations: 161.6 kB / 1.188 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.5246, allocations: 50.55 kB / 1.188 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.37e-05/0.5246, allocations: 20.8 kB / 1.188 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01026/0.5349, allocations: 3.166 MB / 1.192 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.535, allocations: 34.56 kB / 1.192 GB, free: 9.281 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/0.535, allocations: 0 / 1.192 GB, free: 9.281 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.03931/0.5743, allocations: 14.87 MB / 1.206 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.5744, allocations: 55.41 kB / 1.206 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.637e-05/0.5744, allocations: 97.84 kB / 1.206 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.5745, allocations: 29.7 kB / 1.206 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.5745, allocations: 80.14 kB / 1.206 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.5746, allocations: 39.45 kB / 1.206 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.5746, allocations: 25.72 kB / 1.206 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.5747, allocations: 322.8 kB / 1.207 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.509e-05/0.5748, allocations: 20 kB / 1.207 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.5749, allocations: 33.86 kB / 1.207 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.575, allocations: 60.84 kB / 1.207 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.575, allocations: 0 / 1.207 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002197/0.5752, allocations: 108.7 kB / 1.207 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.5753, allocations: 9.25 kB / 1.207 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.5753, allocations: 0 / 1.207 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.5753, allocations: 0 / 1.207 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.5754, allocations: 23.98 kB / 1.207 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.5754, allocations: 0 / 1.207 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.029e-05/0.5755, allocations: 11.94 kB / 1.207 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.5755, allocations: 8 kB / 1.207 GB, free: 9.305 MB / 0.9669 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.665e-05/0.5756, allocations: 123.3 kB / 1.207 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.5756, allocations: 11.92 kB / 1.207 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000276/0.5759, allocations: 121.4 kB / 1.207 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5759, allocations: 8 kB / 1.207 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.5759, allocations: 0 / 1.207 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.576, allocations: 0 / 1.207 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.5761, allocations: 181.6 kB / 1.207 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5761, allocations: 0 / 1.207 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.5762, allocations: 23.98 kB / 1.207 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.5763, allocations: 0 / 1.207 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.5763, allocations: 4 kB / 1.207 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.5763, allocations: 7.938 kB / 1.207 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.5763, allocations: 0 / 1.207 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.5766, allocations: 157.1 kB / 1.208 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/0.5767, allocations: 93.05 kB / 1.208 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.5767, allocations: 0 / 1.208 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.5768, allocations: 15.98 kB / 1.208 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.5769, allocations: 7.984 kB / 1.208 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.5769, allocations: 4 kB / 1.208 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.289e-05/0.5769, allocations: 79.28 kB / 1.208 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5769, allocations: 0 / 1.208 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001796/0.5787, allocations: 0.5663 MB / 1.208 GB, free: 7.816 MB / 0.9669 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.003055/0.5818, allocations: 362.9 kB / 1.209 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.582, allocations: 63.97 kB / 1.209 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.582, allocations: 0 / 1.209 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.569e-05/0.5821, allocations: 35.92 kB / 1.209 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.5823, allocations: 11.94 kB / 1.209 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006721/0.583, allocations: 363.7 kB / 1.209 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.5833, allocations: 0.6887 MB / 1.21 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.874e-05/0.5834, allocations: 24.55 kB / 1.21 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.5834, allocations: 15.44 kB / 1.21 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of SimCode: time 1.81e-07/0.5835, allocations: 0 / 1.21 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of Templates: time 0.03907/0.6225, allocations: 24.22 MB / 1.233 GB, free: 13.96 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) 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) Reference file matches