Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.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.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_9_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_9_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.469/2.469, allocations: 390.3 MB / 405.3 MB, free: 13.57 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.001202/0.001202, allocations: 177.1 kB / 498.1 MB, free: 5.801 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.681/1.681, allocations: 223.2 MB / 0.7948 GB, free: 17.99 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.001185/0.001185, allocations: 102.6 kB / 0.9346 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004093/0.0004094, allocations: 7.5 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3447, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.161/5.506, allocations: 1.744 GB / 2.967 GB, free: 276.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/5.506, allocations: 71.97 kB / 2.967 GB, free: 276.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.05849/5.565, allocations: 29.77 MB / 2.996 GB, free: 246.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.834e-06/5.565, allocations: 0 / 2.996 GB, free: 246.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.476e-06/5.565, allocations: 0 / 2.996 GB, free: 246.1 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004211/5.565, allocations: 383.2 kB / 2.997 GB, free: 245.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/5.565, allocations: 8.031 kB / 2.997 GB, free: 245.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003509/5.565, allocations: 35.94 kB / 2.997 GB, free: 245.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.064e-05/5.566, allocations: 171 kB / 2.997 GB, free: 245.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/5.566, allocations: 4 kB / 2.997 GB, free: 245.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/5.566, allocations: 15.84 kB / 2.997 GB, free: 245.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/5.566, allocations: 69.66 kB / 2.997 GB, free: 245.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/5.566, allocations: 0 / 2.997 GB, free: 245.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/5.566, allocations: 11.95 kB / 2.997 GB, free: 245.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/5.566, allocations: 4 kB / 2.997 GB, free: 245.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.978e-05/5.566, allocations: 39.95 kB / 2.997 GB, free: 245.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/5.566, allocations: 177.6 kB / 2.997 GB, free: 245 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/5.566, allocations: 86.64 kB / 2.997 GB, free: 244.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002154/5.566, allocations: 178.2 kB / 2.998 GB, free: 244.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/5.566, allocations: 34.56 kB / 2.998 GB, free: 244.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/5.567, allocations: 0 / 2.998 GB, free: 244.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=19): time 0.001215/5.568, allocations: 0.5499 MB / 2.998 GB, free: 244.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/5.568, allocations: 55.36 kB / 2.998 GB, free: 244 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.494e-05/5.568, allocations: 89 kB / 2.998 GB, free: 243.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/5.568, allocations: 29.7 kB / 2.998 GB, free: 243.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 2.32e-05/5.568, allocations: 80.52 kB / 2.998 GB, free: 243.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.279e-05/5.568, allocations: 71 kB / 2.998 GB, free: 243.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-06/5.568, allocations: 4 kB / 2.998 GB, free: 243.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.91e-05/5.568, allocations: 322.9 kB / 2.999 GB, free: 243.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.052e-05/5.568, allocations: 35.97 kB / 2.999 GB, free: 243.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.982e-05/5.568, allocations: 69.44 kB / 2.999 GB, free: 243.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.716e-05/5.568, allocations: 48 kB / 2.999 GB, free: 243.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/5.568, allocations: 3.938 kB / 2.999 GB, free: 243.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001805/5.568, allocations: 153.5 kB / 2.999 GB, free: 243.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/5.568, allocations: 8.938 kB / 2.999 GB, free: 243.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/5.568, allocations: 0 / 2.999 GB, free: 243.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/5.569, allocations: 4 kB / 2.999 GB, free: 243.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/5.569, allocations: 43.92 kB / 2.999 GB, free: 243 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/5.569, allocations: 7.953 kB / 2.999 GB, free: 243 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/5.569, allocations: 4 kB / 2.999 GB, free: 243 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/5.569, allocations: 8 kB / 2.999 GB, free: 243 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 8.228e-05/5.569, allocations: 122.9 kB / 2.999 GB, free: 242.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/5.569, allocations: 11.84 kB / 2.999 GB, free: 242.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.277e-05/5.569, allocations: 16.44 kB / 2.999 GB, free: 242.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/5.569, allocations: 11.94 kB / 2.999 GB, free: 242.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/5.569, allocations: 0 / 2.999 GB, free: 242.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/5.569, allocations: 7.938 kB / 2.999 GB, free: 242.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/5.569, allocations: 189.6 kB / 2.999 GB, free: 242.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/5.569, allocations: 0 / 2.999 GB, free: 242.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/5.569, allocations: 39.98 kB / 2.999 GB, free: 242.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/5.569, allocations: 3.984 kB / 2.999 GB, free: 242.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/5.569, allocations: 0 / 2.999 GB, free: 242.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/5.569, allocations: 0 / 2.999 GB, free: 242.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/5.569, allocations: 4 kB / 2.999 GB, free: 242.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/5.57, allocations: 209.5 kB / 3 GB, free: 242.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/5.57, allocations: 93 kB / 3 GB, free: 242.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/5.57, allocations: 4.062 kB / 3 GB, free: 242.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/5.57, allocations: 11.98 kB / 3 GB, free: 242.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/5.57, allocations: 7.984 kB / 3 GB, free: 242.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/5.57, allocations: 4.25 kB / 3 GB, free: 242.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 2.186e-05/5.57, allocations: 83.28 kB / 3 GB, free: 242.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/5.57, allocations: 4.094 kB / 3 GB, free: 242.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0003466/5.57, allocations: 67.94 kB / 3 GB, free: 242 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,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 (19): * Single equations (assignments): 19 * 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.0006883/5.571, allocations: 0.569 MB / 3 GB, free: 241.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0001828/5.571, allocations: 101.4 kB / 3.001 GB, free: 241.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/5.571, allocations: 0 / 3.001 GB, free: 241.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 5.469e-05/5.571, allocations: 47.92 kB / 3.001 GB, free: 241.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/5.571, allocations: 20.7 kB / 3.001 GB, free: 241.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007609/5.572, allocations: 0.6084 MB / 3.001 GB, free: 240.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/5.572, allocations: 0.7049 MB / 3.002 GB, free: 239.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001238/5.572, allocations: 32.61 kB / 3.002 GB, free: 239.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/5.573, allocations: 15.44 kB / 3.002 GB, free: 239.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.9e-07/5.573, allocations: 0 / 3.002 GB, free: 239.9 MB / 1.167 GB Notification: Performance of Templates: time 0.01036/5.583, allocations: 8.127 MB / 3.01 GB, free: 231.7 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_9_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_AirDerivativeCheck.csv","../files/Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches