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.383/2.383, allocations: 390.3 MB / 402.8 MB, free: 6.648 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.001361/0.001361, allocations: 183.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 221.3 MB / 0.7915 GB, free: 5.465 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.001069/0.001069, allocations: 95.94 kB / 0.9318 GB, free: 5.781 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.255e-05/3.259e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3676, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.334/1.701, allocations: 457.9 MB / 1.666 GB, free: 8.543 MB / 1.12 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/1.702, allocations: 72.28 kB / 1.666 GB, free: 8.477 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 0.9115/2.613, allocations: 36.7 MB / 1.702 GB, free: 365.9 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.062e-06/2.613, allocations: 0 / 1.702 GB, free: 365.9 MB / 1.135 GB Notification: Performance of Transformations before backend: time 4.248e-06/2.613, allocations: 1.656 kB / 1.702 GB, free: 365.9 MB / 1.135 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.0004806/2.614, allocations: 370.2 kB / 1.702 GB, free: 365.6 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/2.614, allocations: 9.156 kB / 1.702 GB, free: 365.6 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/2.614, allocations: 11.94 kB / 1.702 GB, free: 365.6 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.594e-05/2.614, allocations: 167.7 kB / 1.702 GB, free: 365.4 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/2.614, allocations: 2.094 kB / 1.702 GB, free: 365.4 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/2.614, allocations: 10.69 kB / 1.702 GB, free: 365.4 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/2.614, allocations: 55.22 kB / 1.702 GB, free: 365.4 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/2.614, allocations: 1.125 kB / 1.702 GB, free: 365.4 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/2.614, allocations: 3.938 kB / 1.702 GB, free: 365.4 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/2.614, allocations: 1.25 kB / 1.702 GB, free: 365.4 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.471e-05/2.615, allocations: 24.27 kB / 1.702 GB, free: 365.4 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/2.615, allocations: 170.9 kB / 1.703 GB, free: 365.2 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/2.615, allocations: 49.53 kB / 1.703 GB, free: 365.1 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.767e-05/2.615, allocations: 17.28 kB / 1.703 GB, free: 365.1 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01126/2.626, allocations: 3.145 MB / 1.706 GB, free: 364.4 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/2.626, allocations: 33.72 kB / 1.706 GB, free: 364.4 MB / 1.135 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/2.626, allocations: 0 / 1.706 GB, free: 364.4 MB / 1.135 GB Notification: Performance of matching and sorting (n=11): time 0.03938/2.666, allocations: 13.44 MB / 1.719 GB, free: 363 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/2.666, allocations: 57.67 kB / 1.719 GB, free: 362.9 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.748e-05/2.666, allocations: 90.3 kB / 1.719 GB, free: 362.8 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/2.666, allocations: 27.27 kB / 1.719 GB, free: 362.8 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 2.03e-05/2.666, allocations: 83.61 kB / 1.719 GB, free: 362.7 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 5.232e-05/2.666, allocations: 34.47 kB / 1.719 GB, free: 362.7 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-06/2.666, allocations: 5.094 kB / 1.719 GB, free: 362.7 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 7.53e-05/2.666, allocations: 314.4 kB / 1.719 GB, free: 362.4 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.015e-05/2.666, allocations: 25.94 kB / 1.719 GB, free: 362.4 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.437e-05/2.666, allocations: 25.81 kB / 1.719 GB, free: 362.4 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.554e-05/2.666, allocations: 26.45 kB / 1.72 GB, free: 362.4 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/2.666, allocations: 0 / 1.72 GB, free: 362.4 MB / 1.135 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002413/2.666, allocations: 96.31 kB / 1.72 GB, free: 362.4 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/2.666, allocations: 6.844 kB / 1.72 GB, free: 362.4 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/2.666, allocations: 0 / 1.72 GB, free: 362.4 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/2.666, allocations: 2.078 kB / 1.72 GB, free: 362.4 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/2.667, allocations: 33.2 kB / 1.72 GB, free: 362.4 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/2.667, allocations: 5.328 kB / 1.72 GB, free: 362.4 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.791e-05/2.667, allocations: 10.05 kB / 1.72 GB, free: 362.3 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/2.667, allocations: 6.375 kB / 1.72 GB, free: 362.3 MB / 1.135 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 6.629e-05/2.667, allocations: 107 kB / 1.72 GB, free: 362.2 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.727e-05/2.667, allocations: 8.094 kB / 1.72 GB, free: 362.2 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/2.667, allocations: 128.9 kB / 1.72 GB, free: 362.2 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/2.667, allocations: 1.484 kB / 1.72 GB, free: 362.2 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/2.667, allocations: 0.9375 kB / 1.72 GB, free: 362.2 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/2.667, allocations: 0.7969 kB / 1.72 GB, free: 362.2 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/2.667, allocations: 177.7 kB / 1.72 GB, free: 362 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/2.667, allocations: 0 / 1.72 GB, free: 362 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/2.668, allocations: 30.62 kB / 1.72 GB, free: 362 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-06/2.668, allocations: 1 kB / 1.72 GB, free: 362 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/2.668, allocations: 2.953 kB / 1.72 GB, free: 362 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/2.668, allocations: 7.547 kB / 1.72 GB, free: 362 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/2.668, allocations: 0 / 1.72 GB, free: 362 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/2.668, allocations: 147.4 kB / 1.72 GB, free: 361.9 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 7.607e-05/2.668, allocations: 99.05 kB / 1.72 GB, free: 361.8 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/2.668, allocations: 2.109 kB / 1.72 GB, free: 361.8 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/2.668, allocations: 19.66 kB / 1.72 GB, free: 361.8 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/2.668, allocations: 7.766 kB / 1.72 GB, free: 361.8 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/2.668, allocations: 6.156 kB / 1.72 GB, free: 361.8 MB / 1.135 GB Notification: Performance of sorting global known variables: time 2.408e-05/2.668, allocations: 76.56 kB / 1.72 GB, free: 361.7 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.4e-07/2.668, allocations: 3.938 kB / 1.72 GB, free: 361.7 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.00404/2.672, allocations: 0.6016 MB / 1.721 GB, free: 361.7 MB / 1.135 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.006859/2.679, allocations: 0.7531 MB / 1.722 GB, free: 361.5 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0003152/2.68, allocations: 67.86 kB / 1.722 GB, free: 361.5 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/2.68, allocations: 0 / 1.722 GB, free: 361.5 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 8.964e-05/2.68, allocations: 32.28 kB / 1.722 GB, free: 361.5 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/2.68, allocations: 18.97 kB / 1.722 GB, free: 361.5 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005828/2.68, allocations: 288.3 kB / 1.722 GB, free: 361.3 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/2.681, allocations: 0.6886 MB / 1.723 GB, free: 360.6 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.0001174/2.681, allocations: 25.98 kB / 1.723 GB, free: 360.6 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/2.681, allocations: 15.64 kB / 1.723 GB, free: 360.6 MB / 1.135 GB Notification: Performance of SimCode: time 3.31e-07/2.681, allocations: 4 kB / 1.723 GB, free: 360.6 MB / 1.135 GB Notification: Performance of Templates: time 0.06015/2.741, allocations: 29.09 MB / 1.751 GB, free: 359 MB / 1.135 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