Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.444/1.444, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001231/0.00123, allocations: 181.6 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.196/2.196, 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.0009326/0.0009328, allocations: 95.67 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.0003909, allocations: 12.88 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.26, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1968/0.4568, allocations: 134.9 MB / 1.032 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.4571, allocations: 91.95 kB / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02119/0.4784, allocations: 8.117 MB / 1.04 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4784, allocations: 0 / 1.04 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.4784, allocations: 4 kB / 1.04 GB, free: 0.6367 MB / 0.6823 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.0007429/0.4792, allocations: 0.503 MB / 1.04 GB, free: 88 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.4792, allocations: 12.03 kB / 1.04 GB, free: 76 kB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.144e-05/0.4793, allocations: 27.62 kB / 1.04 GB, free: 48 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003952/0.4797, allocations: 283.4 kB / 1.041 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.4797, allocations: 8 kB / 1.041 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.4798, allocations: 16 kB / 1.041 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003591/0.4801, allocations: 204.8 kB / 1.041 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.4802, allocations: 0 / 1.041 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.4802, allocations: 4 kB / 1.041 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.4802, allocations: 4 kB / 1.041 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008595/0.4811, allocations: 0.7489 MB / 1.042 GB, free: 14.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000921/0.482, allocations: 0.5626 MB / 1.042 GB, free: 14.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.4824, allocations: 227.5 kB / 1.042 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.645e-05/0.4824, allocations: 19.97 kB / 1.042 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000287/0.4827, allocations: 173.5 kB / 1.043 GB, free: 13.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 1.713e-06/0.4827, allocations: 0 / 1.043 GB, free: 13.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.0006404/0.4834, allocations: 366.8 kB / 1.043 GB, free: 13.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.965e-05/0.4835, allocations: 136.5 kB / 1.043 GB, free: 13.15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.4838, allocations: 264.1 kB / 1.043 GB, free: 12.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.4838, allocations: 29.7 kB / 1.043 GB, free: 12.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.161e-05/0.4839, allocations: 120.8 kB / 1.043 GB, free: 12.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.35e-05/0.484, allocations: 118.3 kB / 1.044 GB, free: 12.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/0.484, allocations: 8 kB / 1.044 GB, free: 12.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4842, allocations: 338.8 kB / 1.044 GB, free: 12.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.4843, allocations: 75.95 kB / 1.044 GB, free: 12.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.4845, allocations: 123.3 kB / 1.044 GB, free: 12.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.4847, allocations: 101.6 kB / 1.044 GB, free: 11.95 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4847, allocations: 3.938 kB / 1.044 GB, free: 11.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000401/0.4851, allocations: 269.2 kB / 1.044 GB, free: 11.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.4851, allocations: 15.94 kB / 1.044 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.4851, allocations: 0 / 1.044 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.4851, allocations: 0 / 1.044 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.4854, allocations: 63.91 kB / 1.044 GB, free: 11.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.4854, allocations: 0 / 1.044 GB, free: 11.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.4855, allocations: 31.78 kB / 1.045 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.4856, allocations: 8 kB / 1.045 GB, free: 11.56 MB / 0.698 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.0001571/0.4857, allocations: 165.8 kB / 1.045 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/0.4858, allocations: 27.7 kB / 1.045 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000648/0.4864, allocations: 376.5 kB / 1.045 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.4865, allocations: 4 kB / 1.045 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.4865, allocations: 3.984 kB / 1.045 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4865, allocations: 0 / 1.045 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.4868, allocations: 341.2 kB / 1.045 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4868, allocations: 0 / 1.045 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.487, allocations: 63.91 kB / 1.045 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.487, allocations: 0 / 1.045 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.4871, allocations: 15.98 kB / 1.045 GB, free: 10.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4871, allocations: 0 / 1.045 GB, free: 10.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.4871, allocations: 0 / 1.045 GB, free: 10.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.4875, allocations: 314.2 kB / 1.046 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.4877, allocations: 156.7 kB / 1.046 GB, free: 10.03 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.4877, allocations: 8 kB / 1.046 GB, free: 10.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.4879, allocations: 19.98 kB / 1.046 GB, free: 10 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.672e-05/0.488, allocations: 23.97 kB / 1.046 GB, free: 9.977 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.488, allocations: 15.98 kB / 1.046 GB, free: 9.961 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002013/0.4882, allocations: 216.4 kB / 1.046 GB, free: 9.754 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4882, allocations: 0 / 1.046 GB, free: 9.754 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003073/0.4885, allocations: 71.94 kB / 1.046 GB, free: 9.684 MB / 0.698 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.0009292/0.4895, allocations: 407.8 kB / 1.047 GB, free: 9.422 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003684/0.4899, allocations: 223.8 kB / 1.047 GB, free: 9.203 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4899, allocations: 0 / 1.047 GB, free: 9.203 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.4901, allocations: 127.8 kB / 1.047 GB, free: 9.078 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.4903, allocations: 37.06 kB / 1.047 GB, free: 9.043 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008677/0.4912, allocations: 0.5659 MB / 1.048 GB, free: 8.453 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.4915, allocations: 0.7613 MB / 1.048 GB, free: 7.664 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003303/0.4919, allocations: 158.8 kB / 1.048 GB, free: 7.508 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.491e-05/0.4919, allocations: 39.42 kB / 1.049 GB, free: 7.469 MB / 0.698 GB Notification: Performance of SimCode: time 2.014e-06/0.492, allocations: 0 / 1.049 GB, free: 7.469 MB / 0.698 GB Notification: Performance of Templates: time 0.006115/0.4981, allocations: 3.013 MB / 1.051 GB, free: 4.48 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches