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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.025/2.025, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001093/0.001093, allocations: 188.8 kB / 487.4 MB, free: 5.086 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.383/1.383, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 99.84 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.226e-05/1.228e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2592, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.141/1.401, allocations: 456.4 MB / 1.652 GB, free: 15.23 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/1.401, allocations: 71.41 kB / 1.652 GB, free: 15.19 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 0.08768/1.489, allocations: 36.17 MB / 1.687 GB, free: 224 kB / 1.089 GB Notification: Performance of FrontEnd: time 1.132e-06/1.489, allocations: 0 / 1.687 GB, free: 224 kB / 1.089 GB Notification: Performance of Transformations before backend: time 4.589e-06/1.489, allocations: 0 / 1.687 GB, free: 224 kB / 1.089 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.0005019/1.489, allocations: 370.2 kB / 1.687 GB, free: 15.82 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/1.489, allocations: 15.91 kB / 1.687 GB, free: 15.8 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/1.489, allocations: 20.44 kB / 1.687 GB, free: 15.79 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/1.49, allocations: 163.1 kB / 1.688 GB, free: 15.59 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/1.49, allocations: 0 / 1.688 GB, free: 15.59 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/1.49, allocations: 7.906 kB / 1.688 GB, free: 15.58 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.143e-05/1.49, allocations: 15.98 kB / 1.688 GB, free: 15.56 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.584e-05/1.49, allocations: 56.3 kB / 1.688 GB, free: 15.51 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/1.49, allocations: 0 / 1.688 GB, free: 15.51 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/1.49, allocations: 0 / 1.688 GB, free: 15.51 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/1.49, allocations: 7.938 kB / 1.688 GB, free: 15.5 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001394/1.49, allocations: 137.1 kB / 1.688 GB, free: 15.33 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 7.194e-05/1.49, allocations: 45.31 kB / 1.688 GB, free: 15.29 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/1.49, allocations: 16.73 kB / 1.688 GB, free: 15.27 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009845/1.5, allocations: 3.141 MB / 1.691 GB, free: 12.08 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/1.5, allocations: 37.88 kB / 1.691 GB, free: 12.04 MB / 1.104 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/1.5, allocations: 0 / 1.691 GB, free: 12.04 MB / 1.104 GB Notification: Performance of matching and sorting (n=11): time 0.03006/1.53, allocations: 13.39 MB / 1.704 GB, free: 14.59 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/1.53, allocations: 55.36 kB / 1.704 GB, free: 14.53 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.46e-05/1.53, allocations: 100.7 kB / 1.704 GB, free: 14.43 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/1.53, allocations: 25.7 kB / 1.704 GB, free: 14.39 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 3.298e-05/1.53, allocations: 80.14 kB / 1.704 GB, free: 14.31 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/1.53, allocations: 35.27 kB / 1.704 GB, free: 14.28 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/1.53, allocations: 0 / 1.704 GB, free: 14.28 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.53, allocations: 318.6 kB / 1.705 GB, free: 13.96 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.072e-05/1.53, allocations: 19.86 kB / 1.705 GB, free: 13.95 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.998e-05/1.531, allocations: 18.56 kB / 1.705 GB, free: 13.94 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.885e-05/1.531, allocations: 19.48 kB / 1.705 GB, free: 13.92 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/1.531, allocations: 8 kB / 1.705 GB, free: 13.91 MB / 1.12 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000184/1.531, allocations: 96.64 kB / 1.705 GB, free: 13.83 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/1.531, allocations: 4 kB / 1.705 GB, free: 13.82 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/1.531, allocations: 0 / 1.705 GB, free: 13.82 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/1.531, allocations: 4 kB / 1.705 GB, free: 13.82 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/1.531, allocations: 23.98 kB / 1.705 GB, free: 13.8 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/1.531, allocations: 7.938 kB / 1.705 GB, free: 13.79 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.542e-05/1.531, allocations: 3.953 kB / 1.705 GB, free: 13.79 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/1.531, allocations: 4 kB / 1.705 GB, free: 13.78 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.969e-05/1.531, allocations: 105 kB / 1.705 GB, free: 13.67 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.324e-05/1.531, allocations: 4 kB / 1.705 GB, free: 13.67 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/1.531, allocations: 119.1 kB / 1.705 GB, free: 13.57 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/1.531, allocations: 0 / 1.705 GB, free: 13.57 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.531, allocations: 4 kB / 1.705 GB, free: 13.56 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/1.531, allocations: 4 kB / 1.705 GB, free: 13.56 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/1.532, allocations: 150.1 kB / 1.705 GB, free: 13.38 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.532, allocations: 3.938 kB / 1.705 GB, free: 13.38 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/1.532, allocations: 23.98 kB / 1.705 GB, free: 13.35 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/1.532, allocations: 0 / 1.705 GB, free: 13.35 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/1.532, allocations: 7.984 kB / 1.705 GB, free: 13.34 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/1.532, allocations: 0 / 1.705 GB, free: 13.34 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.532, allocations: 0 / 1.705 GB, free: 13.34 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/1.532, allocations: 136.4 kB / 1.705 GB, free: 13.21 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-05/1.532, allocations: 100.9 kB / 1.705 GB, free: 13.1 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/1.532, allocations: 0 / 1.705 GB, free: 13.1 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/1.532, allocations: 11.98 kB / 1.705 GB, free: 13.09 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/1.532, allocations: 7.984 kB / 1.705 GB, free: 13.08 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/1.532, allocations: 11.44 kB / 1.705 GB, free: 13.07 MB / 1.12 GB Notification: Performance of sorting global known variables: time 4.482e-05/1.532, allocations: 83.28 kB / 1.706 GB, free: 12.99 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.31e-07/1.532, allocations: 0 / 1.706 GB, free: 12.99 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.001834/1.534, allocations: 0.5961 MB / 1.706 GB, free: 12.42 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.003143/1.537, allocations: 0.8389 MB / 1.707 GB, free: 11.6 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0001298/1.537, allocations: 58.92 kB / 1.707 GB, free: 11.55 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.537, allocations: 0 / 1.707 GB, free: 11.55 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 3.561e-05/1.538, allocations: 23.94 kB / 1.707 GB, free: 11.53 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/1.538, allocations: 15.89 kB / 1.707 GB, free: 11.52 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004822/1.538, allocations: 283.8 kB / 1.707 GB, free: 11.21 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/1.538, allocations: 0.6928 MB / 1.708 GB, free: 10.5 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 9.395e-05/1.539, allocations: 24.55 kB / 1.708 GB, free: 10.47 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.722e-05/1.539, allocations: 19.11 kB / 1.708 GB, free: 10.46 MB / 1.12 GB Notification: Performance of SimCode: time 2.4e-07/1.539, allocations: 0 / 1.708 GB, free: 10.46 MB / 1.12 GB Notification: Performance of Templates: time 0.04024/1.579, allocations: 23.64 MB / 1.731 GB, free: 2.809 MB / 1.135 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 -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","../files/Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches