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.001685/0.001685, 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.002009/0.002009, allocations: 193.2 kB / 16.14 MB, free: 6.676 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.556/1.556, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.89/2.89, allocations: 437 MB / 0.71 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 63.89 kB / 0.8686 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7139/0.7159, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002597/0.7185, allocations: 1.326 MB / 1.018 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1736/0.8922, allocations: 135.7 MB / 1.15 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.564e-05/0.8922, allocations: 0 / 1.15 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.807e-05/0.8923, allocations: 3.984 kB / 1.15 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.302e-05/0.8924, allocations: 3.938 kB / 1.15 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.8943, allocations: 362.7 kB / 1.151 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.8944, allocations: 39.91 kB / 1.151 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 6.359e-05/0.8945, allocations: 11.98 kB / 1.151 GB, free: 8.824 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 7.626e-05/0.8946, allocations: 27.86 kB / 1.151 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.8947, allocations: 19.91 kB / 1.151 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.8948, allocations: 4 kB / 1.151 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.8971, allocations: 0.8115 MB / 1.152 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 3.151e-05/0.8971, allocations: 7.984 kB / 1.152 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 6.009e-05/0.8972, allocations: 19.92 kB / 1.152 GB, free: 7.934 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.8982, allocations: 457 kB / 1.152 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.8982, allocations: 0 / 1.152 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8982, allocations: 0 / 1.152 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.8983, allocations: 0 / 1.152 GB, free: 7.488 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.0007355/0.899, allocations: 371.5 kB / 1.152 GB, free: 7.078 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.899, allocations: 11.97 kB / 1.152 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/0.8993, allocations: 8.938 kB / 1.152 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.8994, allocations: 168.3 kB / 1.153 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.8995, allocations: 4.375 kB / 1.153 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.8995, allocations: 12.12 kB / 1.153 GB, free: 6.84 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.8997, allocations: 57.61 kB / 1.153 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.8997, allocations: 0 / 1.153 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.8998, allocations: 4 kB / 1.153 GB, free: 6.773 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.8998, allocations: 4 kB / 1.153 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.13e-05/0.8999, allocations: 19.98 kB / 1.153 GB, free: 6.75 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000227/0.9001, allocations: 157.7 kB / 1.153 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.9002, allocations: 46.56 kB / 1.153 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.29e-05/0.9003, allocations: 24.78 kB / 1.153 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01126/0.9115, allocations: 3.178 MB / 1.156 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/0.9116, allocations: 34.5 kB / 1.156 GB, free: 3.148 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/0.9116, allocations: 0 / 1.156 GB, free: 3.148 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.04332/0.955, allocations: 14.87 MB / 1.171 GB, free: 4.129 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.955, allocations: 51.41 kB / 1.171 GB, free: 4.066 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.027e-05/0.9551, allocations: 97.86 kB / 1.171 GB, free: 3.961 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.9552, allocations: 33.69 kB / 1.171 GB, free: 3.922 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/0.9552, allocations: 80.14 kB / 1.171 GB, free: 3.84 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.9553, allocations: 39.41 kB / 1.171 GB, free: 3.801 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/0.9554, allocations: 33.7 kB / 1.171 GB, free: 3.762 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.9555, allocations: 318.8 kB / 1.171 GB, free: 3.441 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.757e-05/0.9556, allocations: 20 kB / 1.171 GB, free: 3.422 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.23e-05/0.9557, allocations: 27.98 kB / 1.171 GB, free: 3.395 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.9558, allocations: 68.91 kB / 1.171 GB, free: 3.324 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.9558, allocations: 0 / 1.171 GB, free: 3.324 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002397/0.9561, allocations: 109.5 kB / 1.171 GB, free: 3.211 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.9561, allocations: 5.719 kB / 1.171 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.9561, allocations: 0 / 1.171 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.9561, allocations: 0 / 1.171 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.9562, allocations: 23.98 kB / 1.171 GB, free: 3.184 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.9563, allocations: 0 / 1.171 GB, free: 3.184 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.179e-05/0.9563, allocations: 4 kB / 1.172 GB, free: 3.18 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.9563, allocations: 11.94 kB / 1.172 GB, free: 3.168 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.0001155/0.9564, allocations: 125.7 kB / 1.172 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/0.9565, allocations: 7.984 kB / 1.172 GB, free: 3.027 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/0.9568, allocations: 121.5 kB / 1.172 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.9568, allocations: 0 / 1.172 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.9568, allocations: 4 kB / 1.172 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.9568, allocations: 0 / 1.172 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.957, allocations: 177.6 kB / 1.172 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.957, allocations: 3.938 kB / 1.172 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.9572, allocations: 27.98 kB / 1.172 GB, free: 2.648 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.9572, allocations: 0 / 1.172 GB, free: 2.648 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.9572, allocations: 4 kB / 1.172 GB, free: 2.645 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.9572, allocations: 0 / 1.172 GB, free: 2.645 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.9572, allocations: 0 / 1.172 GB, free: 2.645 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.9575, allocations: 157 kB / 1.172 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.889e-05/0.9576, allocations: 93.05 kB / 1.172 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.9577, allocations: 0 / 1.172 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.9578, allocations: 15.92 kB / 1.172 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.9578, allocations: 11.94 kB / 1.172 GB, free: 2.336 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.9579, allocations: 7.984 kB / 1.172 GB, free: 2.328 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.475e-05/0.9579, allocations: 83.28 kB / 1.172 GB, free: 2.246 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9579, allocations: 0 / 1.172 GB, free: 2.246 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001835/0.9598, allocations: 0.5624 MB / 1.173 GB, free: 1.684 MB / 0.92 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.003103/0.9629, allocations: 347.7 kB / 1.173 GB, free: 1.332 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001889/0.9631, allocations: 75.84 kB / 1.173 GB, free: 1.258 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.9631, allocations: 0 / 1.173 GB, free: 1.258 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.195e-05/0.9632, allocations: 35.98 kB / 1.173 GB, free: 1.223 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.9634, allocations: 11.94 kB / 1.173 GB, free: 1.211 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006519/0.964, allocations: 351.7 kB / 1.174 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.9644, allocations: 0.6926 MB / 1.174 GB, free: 128 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 9.474e-05/0.9645, allocations: 20.55 kB / 1.174 GB, free: 108 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.9645, allocations: 19.44 kB / 1.174 GB, free: 88 kB / 0.92 GB Notification: Performance of SimCode: time 3.016e-06/0.9645, allocations: 0 / 1.174 GB, free: 88 kB / 0.92 GB Notification: Performance of Templates: time 0.03865/1.003, allocations: 24.22 MB / 1.198 GB, free: 7.844 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