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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 113.1 kB / 16.41 MB, free: 6.492 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.001244/0.001244, allocations: 183 kB / 17.34 MB, free: 5.762 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.23/1.23, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.356/2.356, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.91 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6619/0.6631, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002639/0.6658, allocations: 1.66 MB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.6674, allocations: 1.175 MB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.288e-05/0.6675, allocations: 0 / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.6677, allocations: 19.86 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.668, allocations: 71.62 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003901/0.6684, allocations: 159 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.6687, allocations: 245.5 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.6688, allocations: 19.98 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.6689, allocations: 87.81 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.6692, allocations: 87.77 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.22e-05/0.6692, allocations: 16 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.6694, allocations: 75.97 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.518e-05/0.6695, allocations: 87.69 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.825e-05/0.6696, allocations: 107.4 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003467/0.6699, allocations: 298.7 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.6699, allocations: 0 / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6699, allocations: 0 / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.67, allocations: 0 / 1.212 GB, free: 9.574 MB / 0.9356 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.0007374/0.6707, allocations: 0.5287 MB / 1.213 GB, free: 9 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.6707, allocations: 8.031 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.221e-05/0.6708, allocations: 28.66 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.6711, allocations: 268.8 kB / 1.213 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.6711, allocations: 16.38 kB / 1.213 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.6712, allocations: 12.38 kB / 1.213 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/0.6715, allocations: 222.4 kB / 1.213 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.6715, allocations: 4 kB / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.6715, allocations: 4 kB / 1.213 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.6716, allocations: 7.984 kB / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007576/0.6723, allocations: 0.7411 MB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007895/0.6731, allocations: 0.5783 MB / 1.215 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.6735, allocations: 224 kB / 1.215 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.6736, allocations: 100.8 kB / 1.215 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.115e-05/0.6736, allocations: 19.97 kB / 1.215 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003092/0.674, allocations: 173.5 kB / 1.215 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/0.674, allocations: 0 / 1.215 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.0006156/0.6746, allocations: 370.7 kB / 1.216 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.6747, allocations: 132.5 kB / 1.216 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.6749, allocations: 316.8 kB / 1.216 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.675, allocations: 29.7 kB / 1.216 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.637e-05/0.6751, allocations: 128.7 kB / 1.216 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.928e-05/0.6751, allocations: 106.4 kB / 1.216 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.312e-05/0.6752, allocations: 69.69 kB / 1.216 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.6753, allocations: 338.8 kB / 1.217 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.6755, allocations: 75.95 kB / 1.217 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.6756, allocations: 123.4 kB / 1.217 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.6759, allocations: 214.3 kB / 1.217 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6759, allocations: 0 / 1.217 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003796/0.6763, allocations: 265.3 kB / 1.217 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.6763, allocations: 12 kB / 1.217 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.6763, allocations: 0 / 1.217 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.6764, allocations: 0 / 1.217 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.6766, allocations: 63.91 kB / 1.217 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.6766, allocations: 0 / 1.217 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.6767, allocations: 35.61 kB / 1.217 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.6767, allocations: 12 kB / 1.217 GB, free: 4.145 MB / 0.9356 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.0001358/0.6769, allocations: 165.7 kB / 1.218 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.306e-05/0.6769, allocations: 23.72 kB / 1.218 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005921/0.6775, allocations: 368.8 kB / 1.218 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.6776, allocations: 11.98 kB / 1.218 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6776, allocations: 0 / 1.218 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.6776, allocations: 7.938 kB / 1.218 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.6778, allocations: 329.2 kB / 1.218 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6779, allocations: 0 / 1.218 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.678, allocations: 51.97 kB / 1.218 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.678, allocations: 7.938 kB / 1.218 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.678, allocations: 8 kB / 1.218 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6781, allocations: 0 / 1.218 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6781, allocations: 0 / 1.218 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004132/0.6785, allocations: 334.1 kB / 1.219 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.6786, allocations: 140.7 kB / 1.219 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.6786, allocations: 4 kB / 1.219 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.6788, allocations: 19.98 kB / 1.219 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.6789, allocations: 23.91 kB / 1.219 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.6789, allocations: 15.98 kB / 1.219 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001875/0.6791, allocations: 232.5 kB / 1.219 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6791, allocations: 0 / 1.219 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002812/0.6794, allocations: 63.98 kB / 1.219 GB, free: 2.266 MB / 0.9356 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.001043/0.6804, allocations: 410.2 kB / 1.22 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003908/0.6808, allocations: 223.8 kB / 1.22 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.6809, allocations: 0 / 1.22 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.6811, allocations: 128.6 kB / 1.22 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.6813, allocations: 32.66 kB / 1.22 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007934/0.6821, allocations: 0.5307 MB / 1.22 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.6824, allocations: 0.762 MB / 1.221 GB, free: 292 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.6825, allocations: 47.41 kB / 1.221 GB, free: 244 kB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.6825, allocations: 4 kB / 1.221 GB, free: 240 kB / 0.9356 GB Notification: Performance of Templates: time 0.006297/0.6888, allocations: 4.223 MB / 1.225 GB, free: 12.03 MB / 0.9512 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches