Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.346/2.346, allocations: 393.5 MB / 408.4 MB, free: 11 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.001456/0.001457, allocations: 172 kB / 0.4902 GB, free: 2.258 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.712/1.712, allocations: 223.2 MB / 0.7992 GB, free: 15.67 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.001017/0.001017, allocations: 109.7 kB / 0.9396 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003798, allocations: 8.656 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3349, allocations: 143 MB / 1.229 GB, free: 85.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2084/0.5433, allocations: 153.7 MB / 1.379 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003364/0.5437, allocations: 91.92 kB / 1.379 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02306/0.5668, allocations: 8.316 MB / 1.388 GB, free: 3.133 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.546e-06/0.5668, allocations: 4 kB / 1.388 GB, free: 3.129 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.422e-05/0.5669, allocations: 7.938 kB / 1.388 GB, free: 3.121 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001145/0.568, allocations: 0.5032 MB / 1.388 GB, free: 2.57 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.104e-05/0.5681, allocations: 8.562 kB / 1.388 GB, free: 2.562 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.5683, allocations: 23.72 kB / 1.388 GB, free: 2.539 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005276/0.5688, allocations: 280.1 kB / 1.388 GB, free: 2.223 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.5688, allocations: 12 kB / 1.388 GB, free: 2.211 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.5689, allocations: 12 kB / 1.388 GB, free: 2.199 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004655/0.5694, allocations: 212.7 kB / 1.389 GB, free: 1.973 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.5694, allocations: 0 / 1.389 GB, free: 1.973 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.217e-05/0.5694, allocations: 15.98 kB / 1.389 GB, free: 1.957 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.5695, allocations: 7.984 kB / 1.389 GB, free: 1.949 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009809/0.5704, allocations: 0.7256 MB / 1.389 GB, free: 1.223 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.5716, allocations: 0.5821 MB / 1.39 GB, free: 0.5898 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.572, allocations: 220.2 kB / 1.39 GB, free: 372 kB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.603e-05/0.5721, allocations: 15.97 kB / 1.39 GB, free: 356 kB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003414/0.5724, allocations: 177.5 kB / 1.39 GB, free: 164 kB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 2.204e-06/0.5724, allocations: 0 / 1.39 GB, free: 164 kB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.0007361/0.5732, allocations: 366.8 kB / 1.391 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.249e-05/0.5733, allocations: 132.5 kB / 1.391 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003472/0.5736, allocations: 268.1 kB / 1.391 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.5737, allocations: 29.7 kB / 1.391 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.5738, allocations: 132.6 kB / 1.391 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.5739, allocations: 102.4 kB / 1.391 GB, free: 15.1 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.639e-05/0.574, allocations: 8 kB / 1.391 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.5742, allocations: 334.8 kB / 1.392 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.5743, allocations: 83.95 kB / 1.392 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.5745, allocations: 123.2 kB / 1.392 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.5747, allocations: 105.6 kB / 1.392 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.5748, allocations: 4 kB / 1.392 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004865/0.5753, allocations: 265.2 kB / 1.392 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.5753, allocations: 4 kB / 1.392 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.5753, allocations: 0 / 1.392 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/0.5753, allocations: 4 kB / 1.392 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.5756, allocations: 63.91 kB / 1.392 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.529e-05/0.5757, allocations: 3.953 kB / 1.392 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.5759, allocations: 31.73 kB / 1.392 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/0.5759, allocations: 15.98 kB / 1.392 GB, free: 14.05 MB / 0.9011 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.0002052/0.5762, allocations: 157.8 kB / 1.392 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.311e-05/0.5762, allocations: 23.72 kB / 1.392 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007684/0.577, allocations: 380.7 kB / 1.393 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.577, allocations: 7.938 kB / 1.393 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.577, allocations: 0 / 1.393 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.5771, allocations: 3.953 kB / 1.393 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.5775, allocations: 333.3 kB / 1.393 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/0.5775, allocations: 7.984 kB / 1.393 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.5777, allocations: 47.98 kB / 1.393 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.5777, allocations: 0 / 1.393 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.5777, allocations: 11.98 kB / 1.393 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.5777, allocations: 11.94 kB / 1.393 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5777, allocations: 0 / 1.393 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004799/0.5782, allocations: 326.1 kB / 1.394 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/0.5785, allocations: 156.6 kB / 1.394 GB, free: 12.51 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.5785, allocations: 4 kB / 1.394 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.5787, allocations: 19.98 kB / 1.394 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.931e-05/0.5788, allocations: 35.89 kB / 1.394 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.5788, allocations: 8 kB / 1.394 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002356/0.579, allocations: 220.4 kB / 1.394 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.3e-07/0.579, allocations: 0 / 1.394 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003479/0.5794, allocations: 75.92 kB / 1.394 GB, free: 12.16 MB / 0.9011 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.001178/0.5806, allocations: 411 kB / 1.394 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004169/0.581, allocations: 211.8 kB / 1.395 GB, free: 11.69 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.581, allocations: 4 kB / 1.395 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.5812, allocations: 127.8 kB / 1.395 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.5815, allocations: 33.91 kB / 1.395 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009547/0.5825, allocations: 0.5663 MB / 1.395 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.5829, allocations: 0.7579 MB / 1.396 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003343/0.5832, allocations: 150.8 kB / 1.396 GB, free: 9.992 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.029e-05/0.5833, allocations: 39.42 kB / 1.396 GB, free: 9.953 MB / 0.9011 GB Notification: Performance of SimCode: time 6.41e-07/0.5833, allocations: 0 / 1.396 GB, free: 9.953 MB / 0.9011 GB Notification: Performance of Templates: time 0.006869/0.5902, allocations: 3.013 MB / 1.399 GB, free: 6.965 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches