Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006404/0.006404, allocations: 97.7 kB / 15.73 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 195.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 437 MB / 0.7105 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 67.89 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9403/0.9417, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.004302/0.9461, allocations: 1.664 MB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002508/0.9486, allocations: 1.175 MB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.9488, allocations: 0 / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003313/0.9491, allocations: 19.86 kB / 1.169 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000482/0.9496, allocations: 71.62 kB / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005754/0.9502, allocations: 150.9 kB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003801/0.9506, allocations: 249.5 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.9508, allocations: 16 kB / 1.17 GB, free: 472 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.9509, allocations: 87.75 kB / 1.17 GB, free: 384 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.9513, allocations: 91.77 kB / 1.17 GB, free: 292 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.872e-05/0.9513, allocations: 20 kB / 1.17 GB, free: 272 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002287/0.9516, allocations: 83.91 kB / 1.17 GB, free: 188 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.9517, allocations: 87.73 kB / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001804/0.9519, allocations: 103.5 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005651/0.9525, allocations: 299.2 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.9525, allocations: 0 / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.815e-06/0.9525, allocations: 0 / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.9525, allocations: 0 / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001048/0.9536, allocations: 0.5419 MB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.9536, allocations: 12.03 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.9538, allocations: 32.75 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/0.9541, allocations: 269 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.9542, allocations: 12.38 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.474e-05/0.9542, allocations: 12.38 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004496/0.9547, allocations: 230.1 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.9547, allocations: 0 / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.9547, allocations: 7.938 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.9548, allocations: 8 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009242/0.9557, allocations: 0.7373 MB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.9568, allocations: 0.5667 MB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.9572, allocations: 235.5 kB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.9574, allocations: 96.81 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.423e-05/0.9575, allocations: 23.97 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004278/0.9579, allocations: 170.1 kB / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=33): time 2.064e-06/0.9579, allocations: 0 / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.0006951/0.9586, allocations: 370.8 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.939e-05/0.9587, allocations: 132.5 kB / 1.174 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.9591, allocations: 312.9 kB / 1.174 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.9591, allocations: 33.7 kB / 1.174 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.961e-05/0.9592, allocations: 124.8 kB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.9593, allocations: 115 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.948e-05/0.9594, allocations: 69.67 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.9596, allocations: 334.8 kB / 1.175 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.9597, allocations: 79.95 kB / 1.175 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.9599, allocations: 119.4 kB / 1.175 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.9603, allocations: 218.3 kB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.9603, allocations: 3.938 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005319/0.9608, allocations: 269.4 kB / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.9609, allocations: 4 kB / 1.176 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.9609, allocations: 0 / 1.176 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.9609, allocations: 0 / 1.176 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.9611, allocations: 63.91 kB / 1.176 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.9612, allocations: 0 / 1.176 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.9613, allocations: 31.77 kB / 1.176 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.9614, allocations: 12 kB / 1.176 GB, free: 10.27 MB / 0.9044 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001783/0.9615, allocations: 164.8 kB / 1.176 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.899e-05/0.9616, allocations: 27.84 kB / 1.176 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000718/0.9623, allocations: 385 kB / 1.176 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.9623, allocations: 0 / 1.176 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.9624, allocations: 4 kB / 1.176 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.9624, allocations: 11.86 kB / 1.176 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.9627, allocations: 325.4 kB / 1.177 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.9627, allocations: 7.922 kB / 1.177 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.9629, allocations: 47.98 kB / 1.177 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.9629, allocations: 4 kB / 1.177 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.963, allocations: 11.98 kB / 1.177 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.963, allocations: 4 kB / 1.177 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.963, allocations: 3.938 kB / 1.177 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004902/0.9635, allocations: 313.9 kB / 1.177 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/0.9637, allocations: 148.8 kB / 1.177 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.9637, allocations: 4 kB / 1.177 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.9639, allocations: 15.98 kB / 1.177 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.964, allocations: 27.91 kB / 1.177 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.964, allocations: 19.98 kB / 1.177 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002101/0.9642, allocations: 228.5 kB / 1.177 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9642, allocations: 4 kB / 1.177 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003282/0.9646, allocations: 63.92 kB / 1.177 GB, free: 8.379 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001029/0.9656, allocations: 407.4 kB / 1.178 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00044/0.966, allocations: 228.3 kB / 1.178 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.9661, allocations: 0 / 1.178 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.9663, allocations: 124.4 kB / 1.178 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.9666, allocations: 38.34 kB / 1.178 GB, free: 7.734 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.9677, allocations: 0.4975 MB / 1.179 GB, free: 7.211 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.9681, allocations: 0.7574 MB / 1.179 GB, free: 6.43 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003537/0.9684, allocations: 138.9 kB / 1.18 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.9685, allocations: 51.42 kB / 1.18 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.9686, allocations: 0 / 1.18 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of Templates: time 0.008056/0.9766, allocations: 3.084 MB / 1.183 GB, free: 3.184 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches