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.35/2.35, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001031/0.001031, allocations: 180.9 kB / 492.3 MB, free: 0.6172 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.595/1.595, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009356/0.0009356, allocations: 87.95 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.333e-05/3.336e-05, allocations: 8 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3612, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.434/1.795, allocations: 457 MB / 1.659 GB, free: 6.551 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/1.796, allocations: 69.91 kB / 1.659 GB, free: 6.516 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 0.09006/1.886, allocations: 36.72 MB / 1.695 GB, free: 6.172 MB / 1.104 GB Notification: Performance of FrontEnd: time 1.232e-06/1.886, allocations: 0 / 1.695 GB, free: 6.172 MB / 1.104 GB Notification: Performance of Transformations before backend: time 4.669e-06/1.886, allocations: 0 / 1.695 GB, free: 6.172 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.0006219/1.886, allocations: 361.4 kB / 1.695 GB, free: 5.777 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/1.886, allocations: 15.97 kB / 1.695 GB, free: 5.762 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/1.887, allocations: 16.56 kB / 1.695 GB, free: 5.746 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.167e-05/1.887, allocations: 163.1 kB / 1.695 GB, free: 5.547 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/1.887, allocations: 6.562 kB / 1.695 GB, free: 5.543 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/1.887, allocations: 11.66 kB / 1.695 GB, free: 5.535 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/1.887, allocations: 49.55 kB / 1.695 GB, free: 5.484 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/1.887, allocations: 4 kB / 1.695 GB, free: 5.48 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/1.887, allocations: 0 / 1.695 GB, free: 5.48 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/1.887, allocations: 0 / 1.695 GB, free: 5.48 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.386e-05/1.887, allocations: 27.62 kB / 1.695 GB, free: 5.457 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/1.887, allocations: 164.8 kB / 1.695 GB, free: 5.254 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 9.063e-05/1.887, allocations: 56.56 kB / 1.695 GB, free: 5.195 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.872e-05/1.887, allocations: 16.55 kB / 1.695 GB, free: 5.18 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01015/1.897, allocations: 3.141 MB / 1.699 GB, free: 1.988 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/1.897, allocations: 37.92 kB / 1.699 GB, free: 1.945 MB / 1.104 GB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/1.897, allocations: 0 / 1.699 GB, free: 1.945 MB / 1.104 GB Notification: Performance of matching and sorting (n=11): time 0.03102/1.928, allocations: 13.43 MB / 1.712 GB, free: 4.473 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/1.929, allocations: 66.84 kB / 1.712 GB, free: 4.398 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.547e-05/1.929, allocations: 92.92 kB / 1.712 GB, free: 4.301 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/1.929, allocations: 25.7 kB / 1.712 GB, free: 4.27 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/1.929, allocations: 87.02 kB / 1.712 GB, free: 4.184 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/1.929, allocations: 31.22 kB / 1.712 GB, free: 4.156 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/1.929, allocations: 3.75 kB / 1.712 GB, free: 4.156 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.000103/1.929, allocations: 314.8 kB / 1.712 GB, free: 3.84 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.884e-05/1.929, allocations: 31.25 kB / 1.712 GB, free: 3.816 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.645e-05/1.929, allocations: 17.94 kB / 1.712 GB, free: 3.805 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.764e-05/1.929, allocations: 24.67 kB / 1.712 GB, free: 3.785 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/1.929, allocations: 0 / 1.712 GB, free: 3.785 MB / 1.12 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002008/1.929, allocations: 102.9 kB / 1.712 GB, free: 3.695 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/1.929, allocations: 8 kB / 1.712 GB, free: 3.688 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.929, allocations: 0 / 1.712 GB, free: 3.688 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/1.929, allocations: 4 kB / 1.712 GB, free: 3.684 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/1.929, allocations: 27.92 kB / 1.713 GB, free: 3.656 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/1.929, allocations: 3.953 kB / 1.713 GB, free: 3.652 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.674e-05/1.929, allocations: 3.125 kB / 1.713 GB, free: 3.652 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/1.929, allocations: 11.98 kB / 1.713 GB, free: 3.641 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.403e-05/1.93, allocations: 109.8 kB / 1.713 GB, free: 3.531 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/1.93, allocations: 0 / 1.713 GB, free: 3.531 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/1.93, allocations: 140.6 kB / 1.713 GB, free: 3.41 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/1.93, allocations: 0 / 1.713 GB, free: 3.41 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.93, allocations: 0 / 1.713 GB, free: 3.41 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/1.93, allocations: 3.953 kB / 1.713 GB, free: 3.406 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/1.93, allocations: 172.8 kB / 1.713 GB, free: 3.195 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/1.93, allocations: 0 / 1.713 GB, free: 3.195 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/1.93, allocations: 23.98 kB / 1.713 GB, free: 3.172 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/1.93, allocations: 0 / 1.713 GB, free: 3.172 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/1.93, allocations: 7.438 kB / 1.713 GB, free: 3.168 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/1.93, allocations: 3.984 kB / 1.713 GB, free: 3.164 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.93, allocations: 4 kB / 1.713 GB, free: 3.16 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/1.931, allocations: 137.8 kB / 1.713 GB, free: 3.027 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/1.931, allocations: 103.5 kB / 1.713 GB, free: 2.914 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/1.931, allocations: 7.984 kB / 1.713 GB, free: 2.906 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/1.931, allocations: 15.67 kB / 1.713 GB, free: 2.895 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/1.931, allocations: 11.98 kB / 1.713 GB, free: 2.883 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/1.931, allocations: 4 kB / 1.713 GB, free: 2.879 MB / 1.12 GB Notification: Performance of sorting global known variables: time 2.794e-05/1.931, allocations: 75.28 kB / 1.713 GB, free: 2.805 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.3e-07/1.931, allocations: 0 / 1.713 GB, free: 2.805 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.003314/1.934, allocations: 0.6039 MB / 1.714 GB, free: 2.227 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.004358/1.939, allocations: 0.7661 MB / 1.715 GB, free: 1.473 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0003884/1.939, allocations: 66.3 kB / 1.715 GB, free: 1.418 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.939, allocations: 0 / 1.715 GB, free: 1.418 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 7.635e-05/1.939, allocations: 34.12 kB / 1.715 GB, free: 1.391 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/1.939, allocations: 4.219 kB / 1.715 GB, free: 1.391 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006845/1.94, allocations: 299 kB / 1.715 GB, free: 1.082 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/1.94, allocations: 0.6892 MB / 1.716 GB, free: 376 kB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.0001216/1.941, allocations: 24.55 kB / 1.716 GB, free: 348 kB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/1.941, allocations: 19.42 kB / 1.716 GB, free: 328 kB / 1.12 GB Notification: Performance of SimCode: time 5.81e-07/1.941, allocations: 0 / 1.716 GB, free: 328 kB / 1.12 GB Notification: Performance of Templates: time 0.05045/1.991, allocations: 29.08 MB / 1.744 GB, free: 3.219 MB / 1.151 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