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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.492/2.492, allocations: 390.5 MB / 398 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 188.8 kB / 491.2 MB, free: 1.539 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.662/1.662, allocations: 221.5 MB / 0.7868 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 99.52 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.831e-05/1.816e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.2998, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.398/1.698, allocations: 457.2 MB / 1.659 GB, free: 6.695 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/1.698, allocations: 73.27 kB / 1.659 GB, free: 6.656 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 0.09274/1.791, allocations: 36.17 MB / 1.694 GB, free: 7.688 MB / 1.104 GB Notification: Performance of FrontEnd: time 1.442e-06/1.791, allocations: 0 / 1.694 GB, free: 7.688 MB / 1.104 GB Notification: Performance of Transformations before backend: time 6.312e-06/1.791, allocations: 0 / 1.694 GB, free: 7.688 MB / 1.104 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.0005385/1.792, allocations: 362.3 kB / 1.694 GB, free: 7.293 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/1.792, allocations: 8.031 kB / 1.695 GB, free: 7.285 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/1.792, allocations: 27.78 kB / 1.695 GB, free: 7.262 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/1.792, allocations: 163.1 kB / 1.695 GB, free: 7.062 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/1.792, allocations: 0 / 1.695 GB, free: 7.062 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/1.792, allocations: 4 kB / 1.695 GB, free: 7.059 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.444e-05/1.792, allocations: 19.8 kB / 1.695 GB, free: 7.043 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.712e-05/1.792, allocations: 53.34 kB / 1.695 GB, free: 6.988 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/1.792, allocations: 0 / 1.695 GB, free: 6.988 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/1.792, allocations: 3.953 kB / 1.695 GB, free: 6.984 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/1.792, allocations: 7.984 kB / 1.695 GB, free: 6.977 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001934/1.793, allocations: 137.7 kB / 1.695 GB, free: 6.809 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 8.452e-05/1.793, allocations: 46 kB / 1.695 GB, free: 6.758 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.773e-05/1.793, allocations: 16.55 kB / 1.695 GB, free: 6.742 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01008/1.803, allocations: 3.146 MB / 1.698 GB, free: 3.547 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/1.803, allocations: 37.94 kB / 1.698 GB, free: 3.504 MB / 1.104 GB Notification: Performance of pre-optimization done (n=7): time 1.833e-06/1.803, allocations: 0 / 1.698 GB, free: 3.504 MB / 1.104 GB Notification: Performance of matching and sorting (n=11): time 0.03081/1.834, allocations: 13.4 MB / 1.711 GB, free: 6.055 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/1.834, allocations: 55.41 kB / 1.711 GB, free: 5.988 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.178e-05/1.834, allocations: 89 kB / 1.711 GB, free: 5.895 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/1.834, allocations: 25.7 kB / 1.711 GB, free: 5.863 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/1.834, allocations: 80.14 kB / 1.711 GB, free: 5.781 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 4.8e-05/1.834, allocations: 39.27 kB / 1.711 GB, free: 5.746 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/1.834, allocations: 0 / 1.711 GB, free: 5.746 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.834, allocations: 314.7 kB / 1.712 GB, free: 5.434 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.552e-05/1.834, allocations: 22.92 kB / 1.712 GB, free: 5.418 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.937e-05/1.834, allocations: 15.81 kB / 1.712 GB, free: 5.406 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.563e-05/1.834, allocations: 28.8 kB / 1.712 GB, free: 5.387 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/1.834, allocations: 3.938 kB / 1.712 GB, free: 5.383 MB / 1.12 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000188/1.835, allocations: 91.33 kB / 1.712 GB, free: 5.297 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/1.835, allocations: 9.562 kB / 1.712 GB, free: 5.289 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/1.835, allocations: 0 / 1.712 GB, free: 5.289 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/1.835, allocations: 0 / 1.712 GB, free: 5.289 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/1.835, allocations: 31.11 kB / 1.712 GB, free: 5.262 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/1.835, allocations: 3.953 kB / 1.712 GB, free: 5.258 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.551e-05/1.835, allocations: 0 / 1.712 GB, free: 5.258 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/1.835, allocations: 4 kB / 1.712 GB, free: 5.254 MB / 1.12 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.653e-05/1.835, allocations: 105 kB / 1.712 GB, free: 5.145 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/1.835, allocations: 4 kB / 1.712 GB, free: 5.141 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/1.835, allocations: 123.6 kB / 1.712 GB, free: 5.027 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/1.835, allocations: 4 kB / 1.712 GB, free: 5.023 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.835, allocations: 0 / 1.712 GB, free: 5.023 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.505e-06/1.835, allocations: 7.938 kB / 1.712 GB, free: 5.016 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/1.835, allocations: 145.5 kB / 1.712 GB, free: 4.844 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.835, allocations: 4 kB / 1.712 GB, free: 4.84 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/1.836, allocations: 19.98 kB / 1.712 GB, free: 4.82 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/1.836, allocations: 4 kB / 1.712 GB, free: 4.816 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/1.836, allocations: 3.984 kB / 1.712 GB, free: 4.812 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/1.836, allocations: 0 / 1.712 GB, free: 4.812 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.836, allocations: 0 / 1.712 GB, free: 4.812 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/1.836, allocations: 142.3 kB / 1.712 GB, free: 4.676 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 7.809e-05/1.836, allocations: 96.28 kB / 1.713 GB, free: 4.566 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/1.836, allocations: 4 kB / 1.713 GB, free: 4.562 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/1.836, allocations: 11.98 kB / 1.713 GB, free: 4.551 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/1.836, allocations: 11.36 kB / 1.713 GB, free: 4.543 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/1.836, allocations: 4 kB / 1.713 GB, free: 4.539 MB / 1.12 GB Notification: Performance of sorting global known variables: time 2.932e-05/1.836, allocations: 79.28 kB / 1.713 GB, free: 4.461 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.4e-07/1.836, allocations: 0 / 1.713 GB, free: 4.461 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.002124/1.838, allocations: 0.599 MB / 1.713 GB, free: 3.883 MB / 1.12 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003307/1.842, allocations: 0.8382 MB / 1.714 GB, free: 3.062 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0001386/1.842, allocations: 60.09 kB / 1.714 GB, free: 3.016 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.842, allocations: 0 / 1.714 GB, free: 3.016 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 4.243e-05/1.842, allocations: 37.75 kB / 1.714 GB, free: 2.984 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/1.842, allocations: 11.83 kB / 1.714 GB, free: 2.973 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005169/1.843, allocations: 281.6 kB / 1.714 GB, free: 2.68 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/1.843, allocations: 0.6924 MB / 1.715 GB, free: 1.961 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 9.633e-05/1.843, allocations: 20.55 kB / 1.715 GB, free: 1.941 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/1.843, allocations: 19.42 kB / 1.715 GB, free: 1.922 MB / 1.12 GB Notification: Performance of SimCode: time 2.51e-07/1.843, allocations: 0 / 1.715 GB, free: 1.922 MB / 1.12 GB Notification: Performance of Templates: time 0.03973/1.883, allocations: 23.63 MB / 1.738 GB, free: 10.28 MB / 1.151 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","../files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches