Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.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.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_latest_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_latest_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.327/2.327, allocations: 393.5 MB / 408.4 MB, free: 10.85 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.001292/0.001292, allocations: 179.9 kB / 0.4902 GB, free: 2.086 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.829/1.829, allocations: 223.1 MB / 0.7992 GB, free: 15.63 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.0009538/0.0009541, allocations: 102.8 kB / 0.9396 GB, free: 2.82 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003944, allocations: 8.562 kB / 1.09 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.363, allocations: 143 MB / 1.229 GB, free: 85.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.023/5.387, allocations: 1.745 GB / 2.974 GB, free: 184.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/5.387, allocations: 74.09 kB / 2.974 GB, free: 184.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.05816/5.445, allocations: 29.77 MB / 3.004 GB, free: 159.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.325e-06/5.445, allocations: 0 / 3.004 GB, free: 159.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.372e-06/5.445, allocations: 3.938 kB / 3.004 GB, free: 159.8 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.0004339/5.446, allocations: 379.9 kB / 3.004 GB, free: 159.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/5.446, allocations: 8.562 kB / 3.004 GB, free: 159.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003899/5.446, allocations: 39.86 kB / 3.004 GB, free: 159.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.877e-05/5.446, allocations: 171 kB / 3.004 GB, free: 159.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.944e-05/5.446, allocations: 7.562 kB / 3.004 GB, free: 159.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/5.446, allocations: 7.5 kB / 3.004 GB, free: 159.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/5.446, allocations: 71.89 kB / 3.004 GB, free: 159 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/5.446, allocations: 3.938 kB / 3.004 GB, free: 159 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/5.446, allocations: 11.77 kB / 3.004 GB, free: 159 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/5.446, allocations: 0 / 3.004 GB, free: 159 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.431e-05/5.447, allocations: 38.84 kB / 3.004 GB, free: 159 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/5.447, allocations: 180.2 kB / 3.004 GB, free: 158.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/5.447, allocations: 90.47 kB / 3.004 GB, free: 158.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002131/5.447, allocations: 186.2 kB / 3.005 GB, free: 158.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/5.447, allocations: 38.19 kB / 3.005 GB, free: 158.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/5.447, allocations: 0 / 3.005 GB, free: 158.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=19): time 0.001234/5.448, allocations: 0.5327 MB / 3.005 GB, free: 157.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/5.448, allocations: 55.36 kB / 3.005 GB, free: 157.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.977e-05/5.449, allocations: 92.75 kB / 3.005 GB, free: 157.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/5.449, allocations: 33.39 kB / 3.005 GB, free: 157.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 2.484e-05/5.449, allocations: 88.5 kB / 3.005 GB, free: 157.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.325e-05/5.449, allocations: 70.31 kB / 3.006 GB, free: 157.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/5.449, allocations: 0 / 3.006 GB, free: 157.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.162e-05/5.449, allocations: 318.3 kB / 3.006 GB, free: 157.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.438e-05/5.449, allocations: 39.17 kB / 3.006 GB, free: 157.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.896e-05/5.449, allocations: 70.45 kB / 3.006 GB, free: 157.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.311e-05/5.449, allocations: 50.17 kB / 3.006 GB, free: 157.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/5.449, allocations: 0 / 3.006 GB, free: 157.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000197/5.449, allocations: 152.4 kB / 3.006 GB, free: 157 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/5.449, allocations: 4 kB / 3.006 GB, free: 157 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/5.449, allocations: 3.984 kB / 3.006 GB, free: 157 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/5.449, allocations: 4 kB / 3.006 GB, free: 157 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/5.449, allocations: 39.92 kB / 3.006 GB, free: 157 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/5.449, allocations: 4.109 kB / 3.006 GB, free: 157 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.382e-05/5.449, allocations: 3.688 kB / 3.006 GB, free: 157 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/5.449, allocations: 8 kB / 3.006 GB, free: 157 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 7.885e-05/5.45, allocations: 125 kB / 3.006 GB, free: 156.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/5.45, allocations: 7.906 kB / 3.006 GB, free: 156.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.044e-05/5.45, allocations: 19.62 kB / 3.006 GB, free: 156.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/5.45, allocations: 4 kB / 3.006 GB, free: 156.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/5.45, allocations: 0 / 3.006 GB, free: 156.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/5.45, allocations: 11.88 kB / 3.006 GB, free: 156.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/5.45, allocations: 192.2 kB / 3.007 GB, free: 156.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/5.45, allocations: 4 kB / 3.007 GB, free: 156.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/5.45, allocations: 39.92 kB / 3.007 GB, free: 156.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/5.45, allocations: 7.984 kB / 3.007 GB, free: 156.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/5.45, allocations: 3.812 kB / 3.007 GB, free: 156.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/5.45, allocations: 7.984 kB / 3.007 GB, free: 156.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/5.45, allocations: 0 / 3.007 GB, free: 156.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/5.45, allocations: 206.1 kB / 3.007 GB, free: 156.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.287e-05/5.45, allocations: 96.44 kB / 3.007 GB, free: 156.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/5.45, allocations: 3.938 kB / 3.007 GB, free: 156.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/5.451, allocations: 11.75 kB / 3.007 GB, free: 156.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/5.451, allocations: 11.98 kB / 3.007 GB, free: 156.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/5.451, allocations: 7.938 kB / 3.007 GB, free: 156.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 1.997e-05/5.451, allocations: 79.27 kB / 3.007 GB, free: 156.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.1e-07/5.451, allocations: 0 / 3.007 GB, free: 156.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0003471/5.451, allocations: 61.64 kB / 3.007 GB, free: 156.1 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.0006985/5.452, allocations: 0.5567 MB / 3.008 GB, free: 155.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0002057/5.452, allocations: 102.6 kB / 3.008 GB, free: 155.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/5.452, allocations: 4 kB / 3.008 GB, free: 155.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 6.433e-05/5.452, allocations: 60.72 kB / 3.008 GB, free: 155.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/5.452, allocations: 11.33 kB / 3.008 GB, free: 155.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007495/5.453, allocations: 0.6128 MB / 3.008 GB, free: 154.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/5.453, allocations: 0.7049 MB / 3.009 GB, free: 154.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001295/5.453, allocations: 24.62 kB / 3.009 GB, free: 154 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/5.453, allocations: 19.44 kB / 3.009 GB, free: 154 MB / 1.167 GB Notification: Performance of SimCode: time 5.42e-07/5.453, allocations: 0 / 3.009 GB, free: 154 MB / 1.167 GB Notification: Performance of Templates: time 0.01079/5.464, allocations: 8.128 MB / 3.017 GB, free: 145.9 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirDerivativeCheck.csv","../files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches