Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.327/2.327, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001198/0.001198, allocations: 185 kB / 498.1 MB, free: 5.742 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.847/1.847, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.0009747/0.0009742, allocations: 88.33 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003567, allocations: 10.34 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3269, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2281/0.5551, allocations: 153 MB / 1.372 GB, free: 9.141 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/0.5555, allocations: 83.95 kB / 1.372 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02303/0.5785, allocations: 8.315 MB / 1.38 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.284e-06/0.5786, allocations: 0 / 1.38 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.003e-05/0.5786, allocations: 4 kB / 1.38 GB, free: 0.7305 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008193/0.5795, allocations: 0.511 MB / 1.381 GB, free: 176 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.5795, allocations: 8.031 kB / 1.381 GB, free: 168 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.879e-05/0.5796, allocations: 23.72 kB / 1.381 GB, free: 144 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004478/0.5801, allocations: 275.5 kB / 1.381 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.5801, allocations: 16 kB / 1.381 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.5801, allocations: 12 kB / 1.381 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.5805, allocations: 212.8 kB / 1.381 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.5805, allocations: 0 / 1.381 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.08e-05/0.5806, allocations: 12 kB / 1.381 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.5806, allocations: 4 kB / 1.381 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008937/0.5815, allocations: 0.7295 MB / 1.382 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009196/0.5824, allocations: 0.5667 MB / 1.383 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.5828, allocations: 220.5 kB / 1.383 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.472e-05/0.5829, allocations: 23.89 kB / 1.383 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002885/0.5832, allocations: 173.5 kB / 1.383 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 3.727e-06/0.5832, allocations: 0 / 1.383 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.000669/0.5838, allocations: 378.6 kB / 1.384 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.584, allocations: 136.5 kB / 1.384 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.5843, allocations: 264.1 kB / 1.384 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.5843, allocations: 29.7 kB / 1.384 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.403e-05/0.5844, allocations: 120.8 kB / 1.384 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.541e-05/0.5845, allocations: 110.4 kB / 1.384 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/0.5845, allocations: 4 kB / 1.384 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.5847, allocations: 342.8 kB / 1.384 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.5848, allocations: 79.95 kB / 1.385 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.585, allocations: 115.4 kB / 1.385 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.5852, allocations: 105.5 kB / 1.385 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5852, allocations: 0 / 1.385 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003906/0.5856, allocations: 273.2 kB / 1.385 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.5856, allocations: 4 kB / 1.385 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5856, allocations: 4 kB / 1.385 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.5857, allocations: 0 / 1.385 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.5859, allocations: 67.91 kB / 1.385 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.5859, allocations: 3.953 kB / 1.385 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.5861, allocations: 31.73 kB / 1.385 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.5861, allocations: 12 kB / 1.385 GB, free: 11.65 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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 0.0001744/0.5863, allocations: 157.8 kB / 1.385 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.5863, allocations: 27.72 kB / 1.385 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006809/0.587, allocations: 376.7 kB / 1.386 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.587, allocations: 4 kB / 1.386 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.5871, allocations: 0 / 1.386 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.5871, allocations: 11.88 kB / 1.386 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003668/0.5874, allocations: 337.2 kB / 1.386 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.5875, allocations: 0 / 1.386 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.5876, allocations: 51.97 kB / 1.386 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.5876, allocations: 8 kB / 1.386 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.5877, allocations: 8 kB / 1.386 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5877, allocations: 0 / 1.386 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.5877, allocations: 3.938 kB / 1.386 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/0.5882, allocations: 330.1 kB / 1.386 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001948/0.5884, allocations: 152.7 kB / 1.387 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.5884, allocations: 4 kB / 1.387 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.5886, allocations: 23.98 kB / 1.387 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.975e-05/0.5887, allocations: 23.97 kB / 1.387 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.5887, allocations: 11.98 kB / 1.387 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002248/0.5889, allocations: 220.4 kB / 1.387 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5889, allocations: 0 / 1.387 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003322/0.5893, allocations: 67.94 kB / 1.387 GB, free: 9.77 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001019/0.5903, allocations: 430.8 kB / 1.387 GB, free: 9.488 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003668/0.5907, allocations: 219.8 kB / 1.387 GB, free: 9.273 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5907, allocations: 4 kB / 1.387 GB, free: 9.27 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.5909, allocations: 123.8 kB / 1.388 GB, free: 9.148 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.5911, allocations: 28.62 kB / 1.388 GB, free: 9.117 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009426/0.5921, allocations: 0.5625 MB / 1.388 GB, free: 8.531 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.5924, allocations: 0.7574 MB / 1.389 GB, free: 7.746 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003294/0.5928, allocations: 150.8 kB / 1.389 GB, free: 7.598 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.808e-05/0.5929, allocations: 43.41 kB / 1.389 GB, free: 7.555 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.5929, allocations: 0 / 1.389 GB, free: 7.555 MB / 0.8855 GB Notification: Performance of Templates: time 0.006619/0.5995, allocations: 3.012 MB / 1.392 GB, free: 4.57 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches