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.362/2.362, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001123/0.001122, allocations: 175.4 kB / 498.1 MB, free: 5.777 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.767/1.767, allocations: 223.2 MB / 0.7948 GB, free: 18.95 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.0009306/0.0009306, allocations: 96.2 kB / 0.9346 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004677/0.0004677, allocations: 10.06 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3981, allocations: 142.3 MB / 1.223 GB, free: 89.66 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.481/1.879, allocations: 457.1 MB / 1.669 GB, free: 9.75 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/1.879, allocations: 77.52 kB / 1.669 GB, free: 9.711 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 0.09723/1.977, allocations: 36.8 MB / 1.705 GB, free: 9.32 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.404e-06/1.977, allocations: 0 / 1.705 GB, free: 9.32 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.293e-06/1.977, allocations: 4 kB / 1.705 GB, free: 9.316 MB / 1.042 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.0008226/1.978, allocations: 371.2 kB / 1.706 GB, free: 8.91 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/1.978, allocations: 12.03 kB / 1.706 GB, free: 8.898 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/1.978, allocations: 20.42 kB / 1.706 GB, free: 8.879 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/1.978, allocations: 171 kB / 1.706 GB, free: 8.672 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/1.978, allocations: 3.375 kB / 1.706 GB, free: 8.672 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/1.978, allocations: 4 kB / 1.706 GB, free: 8.668 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/1.978, allocations: 57.48 kB / 1.706 GB, free: 8.613 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/1.978, allocations: 4 kB / 1.706 GB, free: 8.609 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/1.978, allocations: 0 / 1.706 GB, free: 8.609 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/1.978, allocations: 3.953 kB / 1.706 GB, free: 8.605 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.268e-05/1.978, allocations: 19.05 kB / 1.706 GB, free: 8.59 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/1.979, allocations: 164.8 kB / 1.706 GB, free: 8.387 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/1.979, allocations: 53.38 kB / 1.706 GB, free: 8.332 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0107/1.99, allocations: 3.126 MB / 1.709 GB, free: 5.156 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/1.99, allocations: 38.06 kB / 1.709 GB, free: 5.113 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/1.99, allocations: 0 / 1.709 GB, free: 5.113 MB / 1.042 GB Notification: Performance of matching and sorting (n=11): time 0.03178/2.021, allocations: 13.45 MB / 1.722 GB, free: 7.617 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/2.022, allocations: 55.41 kB / 1.722 GB, free: 7.551 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.727e-05/2.022, allocations: 88.94 kB / 1.722 GB, free: 7.457 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/2.022, allocations: 29.58 kB / 1.722 GB, free: 7.426 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 3.287e-05/2.022, allocations: 80.14 kB / 1.723 GB, free: 7.344 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 5.581e-05/2.022, allocations: 39.14 kB / 1.723 GB, free: 7.309 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/2.022, allocations: 3.125 kB / 1.723 GB, free: 7.309 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001279/2.022, allocations: 317.9 kB / 1.723 GB, free: 6.992 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.582e-05/2.022, allocations: 19.92 kB / 1.723 GB, free: 6.977 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.054e-05/2.022, allocations: 23.17 kB / 1.723 GB, free: 6.961 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.296e-05/2.022, allocations: 27.62 kB / 1.723 GB, free: 6.945 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/2.022, allocations: 0 / 1.723 GB, free: 6.945 MB / 1.057 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002196/2.022, allocations: 103 kB / 1.723 GB, free: 6.855 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/2.022, allocations: 4 kB / 1.723 GB, free: 6.852 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/2.022, allocations: 0 / 1.723 GB, free: 6.852 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/2.022, allocations: 4 kB / 1.723 GB, free: 6.848 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/2.022, allocations: 35.5 kB / 1.723 GB, free: 6.816 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/2.023, allocations: 4 kB / 1.723 GB, free: 6.812 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.239e-05/2.023, allocations: 3.984 kB / 1.723 GB, free: 6.809 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/2.023, allocations: 4 kB / 1.723 GB, free: 6.805 MB / 1.057 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001039/2.023, allocations: 120.7 kB / 1.723 GB, free: 6.684 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.763e-05/2.023, allocations: 0 / 1.723 GB, free: 6.684 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003268/2.023, allocations: 135.3 kB / 1.723 GB, free: 6.57 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/2.023, allocations: 4 kB / 1.723 GB, free: 6.566 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/2.023, allocations: 3.953 kB / 1.723 GB, free: 6.562 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/2.023, allocations: 0 / 1.723 GB, free: 6.562 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/2.023, allocations: 173.3 kB / 1.724 GB, free: 6.352 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/2.023, allocations: 0 / 1.724 GB, free: 6.352 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/2.023, allocations: 27.8 kB / 1.724 GB, free: 6.328 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/2.023, allocations: 0 / 1.724 GB, free: 6.328 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/2.023, allocations: 7.984 kB / 1.724 GB, free: 6.32 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/2.023, allocations: 4 kB / 1.724 GB, free: 6.316 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/2.023, allocations: 0 / 1.724 GB, free: 6.316 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/2.024, allocations: 153.3 kB / 1.724 GB, free: 6.176 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 9.958e-05/2.024, allocations: 92.88 kB / 1.724 GB, free: 6.07 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/2.024, allocations: 7.812 kB / 1.724 GB, free: 6.066 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/2.024, allocations: 15.98 kB / 1.724 GB, free: 6.051 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.62e-05/2.024, allocations: 7.984 kB / 1.724 GB, free: 6.043 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/2.024, allocations: 4 kB / 1.724 GB, free: 6.039 MB / 1.057 GB Notification: Performance of sorting global known variables: time 4.634e-05/2.024, allocations: 79.22 kB / 1.724 GB, free: 5.965 MB / 1.057 GB Notification: Performance of sort global known variables: time 2e-07/2.024, allocations: 3.938 kB / 1.724 GB, free: 5.961 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.003043/2.027, allocations: 0.602 MB / 1.725 GB, free: 5.383 MB / 1.057 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 (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.005187/2.032, allocations: 0.7713 MB / 1.725 GB, free: 4.621 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0002874/2.033, allocations: 67.41 kB / 1.725 GB, free: 4.566 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/2.033, allocations: 0 / 1.725 GB, free: 4.566 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 8.956e-05/2.033, allocations: 39.11 kB / 1.725 GB, free: 4.535 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/2.033, allocations: 5.406 kB / 1.725 GB, free: 4.531 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008452/2.034, allocations: 403.9 kB / 1.726 GB, free: 4.117 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/2.034, allocations: 0.6965 MB / 1.726 GB, free: 3.395 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001328/2.035, allocations: 20.55 kB / 1.726 GB, free: 3.371 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/2.035, allocations: 19.42 kB / 1.726 GB, free: 3.352 MB / 1.057 GB Notification: Performance of SimCode: time 8.42e-07/2.035, allocations: 0 / 1.726 GB, free: 3.352 MB / 1.057 GB Notification: Performance of Templates: time 0.05234/2.087, allocations: 27.27 MB / 1.753 GB, free: 8.082 MB / 1.089 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