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.001427/0.001427, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001565/0.001565, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.383/1.383, 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.275/2.275, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 64.17 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2985, allocations: 140.4 MB / 0.9511 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002656/0.3012, allocations: 1.262 MB / 0.9523 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.8454/1.147, allocations: 137.7 MB / 1.087 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.462e-05/1.147, allocations: 0 / 1.087 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.148e-05/1.147, allocations: 1.594 kB / 1.087 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.63e-05/1.147, allocations: 4.969 kB / 1.087 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001746/1.149, allocations: 464.1 kB / 1.087 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/1.149, allocations: 43.8 kB / 1.087 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/1.149, allocations: 3.016 kB / 1.087 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.617e-05/1.149, allocations: 20.84 kB / 1.087 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.498e-05/1.149, allocations: 20.91 kB / 1.087 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/1.149, allocations: 2.094 kB / 1.087 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/1.151, allocations: 0.8274 MB / 1.088 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.449e-05/1.151, allocations: 14.81 kB / 1.088 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/1.151, allocations: 18.05 kB / 1.088 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009229/1.152, allocations: 447.9 kB / 1.089 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.152, allocations: 0.5156 kB / 1.089 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.567e-06/1.152, allocations: 2.219 kB / 1.089 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.266e-06/1.152, allocations: 1 kB / 1.089 GB, free: 7.258 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.0009196/1.153, allocations: 374.5 kB / 1.089 GB, free: 22.89 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/1.153, allocations: 9.531 kB / 1.089 GB, free: 22.89 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/1.153, allocations: 14 kB / 1.089 GB, free: 22.89 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/1.153, allocations: 161.6 kB / 1.089 GB, free: 22.7 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/1.153, allocations: 8.609 kB / 1.089 GB, free: 22.7 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/1.153, allocations: 8.766 kB / 1.089 GB, free: 22.7 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/1.153, allocations: 63.11 kB / 1.089 GB, free: 22.66 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/1.153, allocations: 0.5156 kB / 1.089 GB, free: 22.66 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/1.153, allocations: 1 kB / 1.089 GB, free: 22.66 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/1.153, allocations: 3.844 kB / 1.089 GB, free: 22.66 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.765e-05/1.154, allocations: 16.03 kB / 1.089 GB, free: 22.66 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/1.154, allocations: 168.6 kB / 1.089 GB, free: 22.47 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/1.154, allocations: 52.67 kB / 1.089 GB, free: 22.45 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.019e-05/1.154, allocations: 16.83 kB / 1.089 GB, free: 22.44 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01258/1.166, allocations: 3.206 MB / 1.093 GB, free: 21.97 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.48e-05/1.167, allocations: 37.72 kB / 1.093 GB, free: 21.93 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/1.167, allocations: 0 / 1.093 GB, free: 21.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.04877/1.215, allocations: 15 MB / 1.107 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/1.215, allocations: 54.75 kB / 1.107 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.165e-05/1.216, allocations: 92.58 kB / 1.107 GB, free: 20.02 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/1.216, allocations: 30.95 kB / 1.107 GB, free: 19.98 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/1.216, allocations: 80.14 kB / 1.108 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/1.216, allocations: 43.22 kB / 1.108 GB, free: 19.87 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/1.216, allocations: 33.66 kB / 1.108 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.216, allocations: 314.7 kB / 1.108 GB, free: 19.54 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.872e-05/1.216, allocations: 28.7 kB / 1.108 GB, free: 19.54 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.173e-05/1.216, allocations: 32.47 kB / 1.108 GB, free: 19.54 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/1.216, allocations: 56.91 kB / 1.108 GB, free: 19.53 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.216, allocations: 3.938 kB / 1.108 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002347/1.216, allocations: 104.8 kB / 1.108 GB, free: 19.49 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.216, allocations: 5.125 kB / 1.108 GB, free: 19.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/1.216, allocations: 4 kB / 1.108 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/1.216, allocations: 1.125 kB / 1.108 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/1.217, allocations: 33.64 kB / 1.108 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/1.217, allocations: 0 / 1.108 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.596e-05/1.217, allocations: 1.438 kB / 1.108 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/1.217, allocations: 4.5 kB / 1.108 GB, free: 19.48 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 9.403e-05/1.217, allocations: 121 kB / 1.108 GB, free: 19.37 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/1.217, allocations: 3.156 kB / 1.108 GB, free: 19.37 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/1.217, allocations: 123.8 kB / 1.108 GB, free: 19.33 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/1.217, allocations: 1.906 kB / 1.108 GB, free: 19.33 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.217, allocations: 1.312 kB / 1.108 GB, free: 19.33 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.217, allocations: 0.6562 kB / 1.108 GB, free: 19.33 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/1.217, allocations: 179.1 kB / 1.109 GB, free: 19.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/1.217, allocations: 1.312 kB / 1.109 GB, free: 19.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/1.217, allocations: 26.22 kB / 1.109 GB, free: 19.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/1.217, allocations: 5.203 kB / 1.109 GB, free: 19.13 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/1.217, allocations: 9.266 kB / 1.109 GB, free: 19.13 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/1.217, allocations: 0 / 1.109 GB, free: 19.13 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.217, allocations: 6.031 kB / 1.109 GB, free: 19.13 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/1.218, allocations: 154.4 kB / 1.109 GB, free: 19.06 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.136e-05/1.218, allocations: 92.77 kB / 1.109 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/1.218, allocations: 2.125 kB / 1.109 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/1.218, allocations: 14.59 kB / 1.109 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/1.218, allocations: 14.3 kB / 1.109 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/1.218, allocations: 3.938 kB / 1.109 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.525e-05/1.218, allocations: 78.41 kB / 1.109 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.218, allocations: 0 / 1.109 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.003665/1.222, allocations: 0.5661 MB / 1.11 GB, free: 18.86 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.003556/1.225, allocations: 361.7 kB / 1.11 GB, free: 18.74 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000238/1.226, allocations: 66.94 kB / 1.11 GB, free: 18.74 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/1.226, allocations: 4 kB / 1.11 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.788e-05/1.226, allocations: 35.84 kB / 1.11 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/1.226, allocations: 12.36 kB / 1.11 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006341/1.227, allocations: 339 kB / 1.11 GB, free: 18.49 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/1.227, allocations: 0.6864 MB / 1.111 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.545e-05/1.227, allocations: 27.45 kB / 1.111 GB, free: 17.78 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/1.227, allocations: 15.12 kB / 1.111 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of SimCode: time 4.11e-07/1.227, allocations: 0 / 1.111 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of Templates: time 0.04852/1.276, allocations: 24.27 MB / 1.135 GB, free: 12.32 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 cvode -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