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.462/1.462, allocations: 249.5 MB / 257 MB, free: 6.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 176.8 kB / 316.3 MB, free: 3.305 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.927/1.927, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.00107/0.00107, allocations: 92.59 kB / 0.6714 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.251e-05/2.253e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2589, allocations: 106.3 MB / 0.8852 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.975/7.234, allocations: 2.208 GB / 3.093 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/7.234, allocations: 71.95 kB / 3.093 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05454/7.289, allocations: 29.08 MB / 3.122 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.074e-06/7.289, allocations: 0 / 3.122 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.252e-06/7.289, allocations: 0 / 3.122 GB, free: 154.3 MB / 0.8698 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.0003714/7.289, allocations: 382.3 kB / 3.122 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/7.289, allocations: 8.031 kB / 3.122 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003601/7.29, allocations: 35.83 kB / 3.122 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.994e-05/7.29, allocations: 171 kB / 3.122 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/7.29, allocations: 0 / 3.122 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/7.29, allocations: 8 kB / 3.122 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001245/7.29, allocations: 35.97 kB / 3.122 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/7.29, allocations: 65.61 kB / 3.122 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/7.29, allocations: 0 / 3.122 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/7.29, allocations: 4 kB / 3.122 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/7.29, allocations: 7.953 kB / 3.122 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/7.29, allocations: 158.1 kB / 3.123 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/7.29, allocations: 74.7 kB / 3.123 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.057e-05/7.29, allocations: 24.86 kB / 3.123 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001968/7.291, allocations: 182.2 kB / 3.123 GB, free: 153 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/7.291, allocations: 34.56 kB / 3.123 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/7.291, allocations: 0 / 3.123 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.001072/7.292, allocations: 491.1 kB / 3.123 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/7.292, allocations: 55.41 kB / 3.123 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.326e-05/7.292, allocations: 89 kB / 3.124 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/7.292, allocations: 25.7 kB / 3.124 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.11e-05/7.292, allocations: 80.52 kB / 3.124 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/7.292, allocations: 67 kB / 3.124 GB, free: 152 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-06/7.292, allocations: 0 / 3.124 GB, free: 152 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.649e-05/7.292, allocations: 330.8 kB / 3.124 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.26e-05/7.292, allocations: 36.12 kB / 3.124 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.579e-05/7.292, allocations: 60.64 kB / 3.124 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.518e-05/7.292, allocations: 39.97 kB / 3.124 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/7.292, allocations: 0 / 3.124 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001562/7.292, allocations: 137.4 kB / 3.124 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/7.292, allocations: 8 kB / 3.124 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/7.292, allocations: 128 / 3.124 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/7.292, allocations: 8 kB / 3.124 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/7.293, allocations: 35.98 kB / 3.124 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/7.293, allocations: 4 kB / 3.124 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.993e-05/7.293, allocations: 3.984 kB / 3.124 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/7.293, allocations: 8 kB / 3.124 GB, free: 151.4 MB / 0.8698 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 () * 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 6.726e-05/7.293, allocations: 115.5 kB / 3.124 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/7.293, allocations: 11.84 kB / 3.124 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.864e-05/7.293, allocations: 12.53 kB / 3.124 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/7.293, allocations: 4 kB / 3.124 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/7.293, allocations: 4 kB / 3.124 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/7.293, allocations: 0 / 3.124 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/7.293, allocations: 166.1 kB / 3.125 GB, free: 151 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/7.293, allocations: 0 / 3.125 GB, free: 151 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/7.293, allocations: 39.92 kB / 3.125 GB, free: 151 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/7.293, allocations: 4 kB / 3.125 GB, free: 151 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/7.293, allocations: 0 / 3.125 GB, free: 151 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/7.293, allocations: 0 / 3.125 GB, free: 151 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/7.293, allocations: 3.938 kB / 3.125 GB, free: 151 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/7.293, allocations: 196.9 kB / 3.125 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/7.293, allocations: 93.06 kB / 3.125 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/7.294, allocations: 0 / 3.125 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/7.294, allocations: 4 kB / 3.125 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.173e-05/7.294, allocations: 11.92 kB / 3.125 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/7.294, allocations: 11.98 kB / 3.125 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.238e-05/7.294, allocations: 79.28 kB / 3.125 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/7.294, allocations: 0 / 3.125 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002751/7.294, allocations: 52.03 kB / 3.125 GB, free: 150.5 MB / 0.8698 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 () * 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.0006609/7.295, allocations: 0.6379 MB / 3.126 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001612/7.295, allocations: 95.86 kB / 3.126 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/7.295, allocations: 0 / 3.126 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.898e-05/7.295, allocations: 51.92 kB / 3.126 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/7.295, allocations: 4 kB / 3.126 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006301/7.296, allocations: 450.4 kB / 3.126 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/7.296, allocations: 0.7047 MB / 3.127 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001215/7.296, allocations: 28.53 kB / 3.127 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/7.296, allocations: 19.38 kB / 3.127 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/7.296, allocations: 0 / 3.127 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.00664/7.303, allocations: 4.124 MB / 3.131 GB, free: 144.3 MB / 0.8698 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