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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001193/0.001193, allocations: 101.9 kB / 16.35 MB, free: 5.879 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.001131/0.001131, allocations: 199.1 kB / 17.3 MB, free: 5.52 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.248/2.248, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 65.39 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2591, allocations: 140.4 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002246/0.2614, allocations: 1.26 MB / 0.9523 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6454/0.9068, allocations: 137.7 MB / 1.087 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.386e-05/0.9068, allocations: 1.469 kB / 1.087 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.524e-05/0.9069, allocations: 1.75 kB / 1.087 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.626e-05/0.907, allocations: 5 kB / 1.087 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.9086, allocations: 462.2 kB / 1.087 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.087e-05/0.9087, allocations: 44.3 kB / 1.087 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.605e-05/0.9088, allocations: 3.797 kB / 1.087 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.617e-05/0.9088, allocations: 23.98 kB / 1.087 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.937e-05/0.9089, allocations: 21.12 kB / 1.087 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.9089, allocations: 2.188 kB / 1.087 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.9106, allocations: 0.8256 MB / 1.088 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.9106, allocations: 13.2 kB / 1.088 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.9107, allocations: 19.27 kB / 1.088 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007089/0.9114, allocations: 447.1 kB / 1.089 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.9114, allocations: 1.703 kB / 1.089 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9114, allocations: 0.9688 kB / 1.089 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.9114, allocations: 0 / 1.089 GB, free: 7.246 MB / 0.8575 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.0007227/0.9121, allocations: 376.9 kB / 1.089 GB, free: 22.88 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.9122, allocations: 10.38 kB / 1.089 GB, free: 22.88 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/0.9124, allocations: 11.23 kB / 1.089 GB, free: 22.88 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.9125, allocations: 162.8 kB / 1.089 GB, free: 22.69 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.9125, allocations: 6.531 kB / 1.089 GB, free: 22.69 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.9126, allocations: 9.297 kB / 1.089 GB, free: 22.68 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.9127, allocations: 60.02 kB / 1.089 GB, free: 22.65 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.9127, allocations: 2.219 kB / 1.089 GB, free: 22.65 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.9127, allocations: 0.9688 kB / 1.089 GB, free: 22.65 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.9127, allocations: 1.094 kB / 1.089 GB, free: 22.65 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.767e-05/0.9128, allocations: 26.11 kB / 1.089 GB, free: 22.64 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.913, allocations: 164.3 kB / 1.089 GB, free: 22.46 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 9.939e-05/0.9131, allocations: 49.25 kB / 1.089 GB, free: 22.43 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.932e-05/0.9131, allocations: 17.97 kB / 1.089 GB, free: 22.43 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01292/0.9261, allocations: 3.207 MB / 1.093 GB, free: 21.95 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.627e-05/0.9262, allocations: 42.06 kB / 1.093 GB, free: 21.91 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=7): time 2.514e-06/0.9262, allocations: 0 / 1.093 GB, free: 21.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.04436/0.9706, allocations: 14.99 MB / 1.107 GB, free: 20.15 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.9706, allocations: 58.95 kB / 1.107 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.454e-05/0.9707, allocations: 97.56 kB / 1.107 GB, free: 19.98 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.9707, allocations: 27.02 kB / 1.107 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/0.9708, allocations: 83.95 kB / 1.108 GB, free: 19.87 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.9708, allocations: 41.12 kB / 1.108 GB, free: 19.84 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/0.9709, allocations: 30.98 kB / 1.108 GB, free: 19.83 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.971, allocations: 317.1 kB / 1.108 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.599e-05/0.971, allocations: 24.03 kB / 1.108 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.029e-05/0.9711, allocations: 25.44 kB / 1.108 GB, free: 19.51 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.9712, allocations: 69.38 kB / 1.108 GB, free: 19.5 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.9713, allocations: 3.938 kB / 1.108 GB, free: 19.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002257/0.9715, allocations: 106.9 kB / 1.108 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.9715, allocations: 6.594 kB / 1.108 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.9715, allocations: 0.6562 kB / 1.108 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.9715, allocations: 0 / 1.108 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.9717, allocations: 22.45 kB / 1.108 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.9717, allocations: 6.844 kB / 1.108 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.963e-05/0.9717, allocations: 7.031 kB / 1.108 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.9717, allocations: 6.594 kB / 1.108 GB, free: 19.46 MB / 0.8731 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.461e-05/0.9718, allocations: 118.3 kB / 1.108 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.494e-05/0.9719, allocations: 3.188 kB / 1.108 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.9722, allocations: 125.2 kB / 1.108 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.9722, allocations: 1.75 kB / 1.108 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.9722, allocations: 4 kB / 1.108 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.9722, allocations: 1.266 kB / 1.108 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.9724, allocations: 180 kB / 1.109 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.9724, allocations: 0 / 1.109 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.9725, allocations: 31.67 kB / 1.109 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.644e-06/0.9725, allocations: 0 / 1.109 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.9725, allocations: 3.672 kB / 1.109 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.9725, allocations: 1.281 kB / 1.109 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.9726, allocations: 0.7031 kB / 1.109 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.9729, allocations: 163.8 kB / 1.109 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.973, allocations: 92.62 kB / 1.109 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.973, allocations: 4.031 kB / 1.109 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.9731, allocations: 14.67 kB / 1.109 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.538e-05/0.9732, allocations: 6.484 kB / 1.109 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.9732, allocations: 5.297 kB / 1.109 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.512e-05/0.9732, allocations: 81.28 kB / 1.109 GB, free: 18.85 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9732, allocations: 1.203 kB / 1.109 GB, free: 18.85 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002756/0.976, allocations: 0.5653 MB / 1.11 GB, free: 18.83 MB / 0.8731 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.003111/0.9791, allocations: 361.9 kB / 1.11 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002043/0.9793, allocations: 64.78 kB / 1.11 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.9793, allocations: 1 kB / 1.11 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.849e-05/0.9794, allocations: 35.97 kB / 1.11 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.9796, allocations: 13.08 kB / 1.11 GB, free: 18.7 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005898/0.9802, allocations: 343.6 kB / 1.11 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.9805, allocations: 0.6888 MB / 1.111 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.319e-05/0.9806, allocations: 25.44 kB / 1.111 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.9806, allocations: 18.38 kB / 1.111 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.9806, allocations: 0 / 1.111 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of Templates: time 0.0394/1.02, allocations: 24.26 MB / 1.135 GB, free: 12.28 MB / 0.8731 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches