Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.481/1.481, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 177.1 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.79/1.79, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008482/0.0008483, allocations: 89.92 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003698, allocations: 6.031 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2569, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.624/5.881, allocations: 2.208 GB / 3.108 GB, free: 247.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/5.881, allocations: 77.86 kB / 3.108 GB, free: 247.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.06164/5.943, allocations: 29.66 MB / 3.137 GB, free: 242.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.874e-06/5.943, allocations: 4 kB / 3.137 GB, free: 242.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.314e-06/5.943, allocations: 3.938 kB / 3.137 GB, free: 242.5 MB / 0.8855 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.0003687/5.943, allocations: 377.5 kB / 3.137 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/5.943, allocations: 11.81 kB / 3.137 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003532/5.944, allocations: 38.5 kB / 3.137 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.381e-05/5.944, allocations: 167 kB / 3.138 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/5.944, allocations: 7.656 kB / 3.138 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/5.944, allocations: 15.25 kB / 3.138 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/5.944, allocations: 71.48 kB / 3.138 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/5.944, allocations: 0 / 3.138 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/5.944, allocations: 3.312 kB / 3.138 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/5.944, allocations: 3.906 kB / 3.138 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.619e-05/5.944, allocations: 42.34 kB / 3.138 GB, free: 241.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/5.944, allocations: 191.7 kB / 3.138 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/5.944, allocations: 87.62 kB / 3.138 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001876/5.945, allocations: 181.2 kB / 3.138 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/5.945, allocations: 34.47 kB / 3.138 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/5.945, allocations: 0 / 3.138 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.001141/5.946, allocations: 0.5409 MB / 3.139 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/5.946, allocations: 58.78 kB / 3.139 GB, free: 241 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.522e-05/5.946, allocations: 92.47 kB / 3.139 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/5.946, allocations: 36.86 kB / 3.139 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.087e-05/5.946, allocations: 84.64 kB / 3.139 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/5.946, allocations: 68.55 kB / 3.139 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/5.946, allocations: 3.812 kB / 3.139 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.975e-05/5.946, allocations: 321.5 kB / 3.139 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.266e-05/5.946, allocations: 40.94 kB / 3.139 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.5e-05/5.946, allocations: 63.75 kB / 3.14 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.872e-05/5.946, allocations: 52.3 kB / 3.14 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/5.946, allocations: 4 kB / 3.14 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001788/5.946, allocations: 153.2 kB / 3.14 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/5.946, allocations: 3.812 kB / 3.14 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/5.946, allocations: 3.906 kB / 3.14 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/5.946, allocations: 3.469 kB / 3.14 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/5.947, allocations: 38.38 kB / 3.14 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/5.947, allocations: 3.906 kB / 3.14 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.098e-05/5.947, allocations: 3.438 kB / 3.14 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/5.947, allocations: 15.75 kB / 3.14 GB, free: 240.4 MB / 0.8855 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 7.455e-05/5.947, allocations: 125 kB / 3.14 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.662e-05/5.947, allocations: 7.875 kB / 3.14 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.065e-05/5.947, allocations: 22.03 kB / 3.14 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/5.947, allocations: 3.875 kB / 3.14 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/5.947, allocations: 0 / 3.14 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/5.947, allocations: 0 / 3.14 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/5.947, allocations: 194.1 kB / 3.14 GB, free: 240 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/5.947, allocations: 3.422 kB / 3.14 GB, free: 240 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/5.947, allocations: 34.81 kB / 3.14 GB, free: 240 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/5.947, allocations: 0 / 3.14 GB, free: 240 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/5.947, allocations: 11.66 kB / 3.14 GB, free: 240 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/5.947, allocations: 3.938 kB / 3.14 GB, free: 240 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/5.947, allocations: 160 / 3.14 GB, free: 240 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/5.948, allocations: 204.8 kB / 3.14 GB, free: 240 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.286e-05/5.948, allocations: 95.73 kB / 3.14 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/5.948, allocations: 3.609 kB / 3.14 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/5.948, allocations: 7.844 kB / 3.14 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/5.948, allocations: 7.859 kB / 3.14 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/5.948, allocations: 15.81 kB / 3.14 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.422e-05/5.948, allocations: 75.28 kB / 3.141 GB, free: 239.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/5.948, allocations: 0 / 3.141 GB, free: 239.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004008/5.948, allocations: 64.8 kB / 3.141 GB, free: 239.8 MB / 0.8855 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.0008064/5.949, allocations: 0.5564 MB / 3.141 GB, free: 239.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002164/5.949, allocations: 112.7 kB / 3.141 GB, free: 239.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/5.949, allocations: 0 / 3.141 GB, free: 239.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.389e-05/5.949, allocations: 61.89 kB / 3.141 GB, free: 239.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/5.95, allocations: 10.98 kB / 3.141 GB, free: 239.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008204/5.95, allocations: 0.6096 MB / 3.142 GB, free: 239.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/5.951, allocations: 0.7099 MB / 3.143 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001343/5.951, allocations: 27.05 kB / 3.143 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/5.951, allocations: 15.25 kB / 3.143 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of SimCode: time 4e-07/5.951, allocations: 0 / 3.143 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.01174/5.963, allocations: 8.12 MB / 3.151 GB, free: 237.5 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Examples_AirDerivativeCheck.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches