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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.002269/0.002269, 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.002921/0.002921, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.47/1.47, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.925/2.925, allocations: 472.7 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 66.11 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3411, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002393/0.3436, allocations: 1.253 MB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1498/0.4934, allocations: 137.7 MB / 1.204 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.672e-05/0.4935, allocations: 0 / 1.204 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.212e-05/0.4936, allocations: 0 / 1.204 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.701e-05/0.4937, allocations: 3.938 kB / 1.204 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.495, allocations: 462.3 kB / 1.204 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.912e-05/0.4951, allocations: 39.92 kB / 1.204 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.158e-05/0.4952, allocations: 3.984 kB / 1.204 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.548e-05/0.4952, allocations: 23.92 kB / 1.204 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.509e-05/0.4953, allocations: 11.98 kB / 1.204 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.4953, allocations: 0 / 1.204 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.4966, allocations: 0.8114 MB / 1.205 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.4967, allocations: 11.92 kB / 1.205 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.4967, allocations: 19.92 kB / 1.205 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000552/0.4973, allocations: 439.5 kB / 1.206 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.4973, allocations: 0 / 1.206 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4973, allocations: 4 kB / 1.206 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.4973, allocations: 0 / 1.206 GB, free: 13.12 MB / 0.9669 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.0005357/0.4979, allocations: 371.4 kB / 1.206 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.4979, allocations: 8.031 kB / 1.206 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/0.4981, allocations: 16.83 kB / 1.206 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.4982, allocations: 176.2 kB / 1.206 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.4982, allocations: 4.375 kB / 1.206 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.4983, allocations: 8.125 kB / 1.206 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.4984, allocations: 57.67 kB / 1.206 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.4984, allocations: 0 / 1.206 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.4985, allocations: 3.984 kB / 1.206 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.4985, allocations: 0 / 1.206 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.595e-05/0.4986, allocations: 23.97 kB / 1.206 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.4987, allocations: 161.7 kB / 1.206 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.4989, allocations: 54.48 kB / 1.207 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.372e-05/0.4989, allocations: 20.8 kB / 1.207 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01141/0.5103, allocations: 3.167 MB / 1.21 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.5104, allocations: 34.56 kB / 1.21 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 2.565e-06/0.5104, allocations: 0 / 1.21 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.04214/0.5526, allocations: 14.86 MB / 1.224 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.5526, allocations: 51.41 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.205e-05/0.5527, allocations: 97.8 kB / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.5527, allocations: 33.69 kB / 1.224 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.176e-05/0.5528, allocations: 80.14 kB / 1.224 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.5528, allocations: 35.38 kB / 1.224 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/0.5529, allocations: 33.7 kB / 1.224 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.553, allocations: 326.9 kB / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.422e-05/0.553, allocations: 24 kB / 1.225 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.146e-05/0.5531, allocations: 27.98 kB / 1.225 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.5532, allocations: 60.84 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.5532, allocations: 0 / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002063/0.5534, allocations: 97.69 kB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.5535, allocations: 4 kB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.5535, allocations: 0 / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.5535, allocations: 0 / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.5536, allocations: 35.86 kB / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.5536, allocations: 4.234 kB / 1.225 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.68e-05/0.5537, allocations: 4 kB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.5537, allocations: 0 / 1.225 GB, free: 8.801 MB / 0.9825 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.16e-05/0.5538, allocations: 123.3 kB / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.376e-05/0.5538, allocations: 11.89 kB / 1.225 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.5541, allocations: 125.4 kB / 1.225 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.5541, allocations: 0 / 1.225 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5541, allocations: 0 / 1.225 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5541, allocations: 0 / 1.225 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.5543, allocations: 181.6 kB / 1.225 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5543, allocations: 0 / 1.225 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.5544, allocations: 27.98 kB / 1.225 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5544, allocations: 0 / 1.225 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.5545, allocations: 4 kB / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5545, allocations: 3.984 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5545, allocations: 4 kB / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.5548, allocations: 164.3 kB / 1.226 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/0.5548, allocations: 85.14 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.5549, allocations: 4 kB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.555, allocations: 11.98 kB / 1.226 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.5551, allocations: 8 kB / 1.226 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.5551, allocations: 11.98 kB / 1.226 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.177e-05/0.5551, allocations: 79.28 kB / 1.226 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5551, allocations: 0 / 1.226 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001643/0.5568, allocations: 0.5663 MB / 1.226 GB, free: 7.309 MB / 0.9825 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.002693/0.5595, allocations: 359.7 kB / 1.227 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001809/0.5597, allocations: 67.91 kB / 1.227 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.5597, allocations: 4 kB / 1.227 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.109e-05/0.5597, allocations: 35.92 kB / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.5599, allocations: 15.94 kB / 1.227 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005978/0.5605, allocations: 334.6 kB / 1.227 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.5608, allocations: 0.6885 MB / 1.228 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.343e-05/0.5609, allocations: 28.53 kB / 1.228 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.5609, allocations: 15.44 kB / 1.228 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.5609, allocations: 0 / 1.228 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of Templates: time 0.6104/1.171, allocations: 24.25 MB / 1.252 GB, free: 180.2 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