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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.00144, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00178/0.00178, allocations: 190.7 kB / 16.25 MB, free: 6.637 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.464/1.464, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.429/2.429, allocations: 390.2 MB / 0.6643 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.89 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7537/0.755, allocations: 140.4 MB / 0.9491 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002914/0.758, allocations: 1.71 MB / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001905/0.7599, allocations: 1.149 MB / 0.9519 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.526e-05/0.76, allocations: 1.375 kB / 0.9519 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000324/0.7604, allocations: 22.78 kB / 0.9519 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003702/0.7608, allocations: 57.45 kB / 0.952 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.7612, allocations: 136.2 kB / 0.9521 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000328/0.7616, allocations: 249.1 kB / 0.9523 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.7617, allocations: 18.45 kB / 0.9524 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.7618, allocations: 81.95 kB / 0.9524 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.7621, allocations: 93.2 kB / 0.9525 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.333e-05/0.7621, allocations: 17.47 kB / 0.9525 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.7623, allocations: 87.83 kB / 0.9526 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.7624, allocations: 78.69 kB / 0.9527 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.7625, allocations: 108.9 kB / 0.9528 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.7629, allocations: 281 kB / 0.9531 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.7629, allocations: 0 / 0.9531 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7629, allocations: 0 / 0.9531 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.7629, allocations: 1.375 kB / 0.9531 GB, free: 6.086 MB / 0.7169 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.0007354/0.7637, allocations: 0.537 MB / 0.9536 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.7637, allocations: 9.812 kB / 0.9536 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.8e-05/0.7638, allocations: 34.03 kB / 0.9536 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.7641, allocations: 273.5 kB / 0.9539 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.7641, allocations: 10.72 kB / 0.9539 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.7642, allocations: 14.81 kB / 0.9539 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/0.7645, allocations: 230 kB / 0.9541 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.7646, allocations: 0 / 0.9541 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.7646, allocations: 6 kB / 0.9541 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.7646, allocations: 4.188 kB / 0.9541 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009/0.7655, allocations: 0.7414 MB / 0.9549 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009118/0.7664, allocations: 0.5702 MB / 0.9554 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.7668, allocations: 230.4 kB / 0.9556 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.767, allocations: 100.1 kB / 0.9557 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.01e-05/0.767, allocations: 21.78 kB / 0.9558 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004014/0.7675, allocations: 172.8 kB / 0.9559 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 2.084e-06/0.7675, allocations: 0 / 0.9559 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.000704/0.7682, allocations: 366.4 kB / 0.9563 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.7682, allocations: 136.3 kB / 0.9564 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.7686, allocations: 311.2 kB / 0.9567 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.7686, allocations: 34.92 kB / 0.9567 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.7687, allocations: 121.6 kB / 0.9569 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.97e-05/0.7688, allocations: 113.4 kB / 0.957 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.7689, allocations: 64.38 kB / 0.957 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.659e-05/0.769, allocations: 335.1 kB / 0.9573 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.7692, allocations: 79.52 kB / 0.9574 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.7693, allocations: 122.1 kB / 0.9575 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.7697, allocations: 216.5 kB / 0.9577 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.7697, allocations: 0 / 0.9577 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000434/0.7701, allocations: 269.6 kB / 0.958 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.7702, allocations: 6.938 kB / 0.958 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.7702, allocations: 1.031 kB / 0.958 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.7702, allocations: 1.031 kB / 0.958 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.7704, allocations: 66 kB / 0.9581 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.7705, allocations: 2.5 kB / 0.9581 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.7706, allocations: 30.86 kB / 0.9581 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.7707, allocations: 16.72 kB / 0.9581 GB, free: 2.395 MB / 0.7169 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.0001495/0.7708, allocations: 161.1 kB / 0.9583 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-05/0.7709, allocations: 24.78 kB / 0.9583 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006953/0.7716, allocations: 376.7 kB / 0.9587 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.7716, allocations: 7.969 kB / 0.9587 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.7716, allocations: 0 / 0.9587 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.7716, allocations: 11.88 kB / 0.9587 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.7719, allocations: 332.2 kB / 0.959 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.7719, allocations: 0.9375 kB / 0.959 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.7721, allocations: 55.66 kB / 0.959 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.7721, allocations: 1.156 kB / 0.959 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.7721, allocations: 8.094 kB / 0.9591 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.7721, allocations: 5.297 kB / 0.9591 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7721, allocations: 1.094 kB / 0.9591 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/0.7726, allocations: 326 kB / 0.9594 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.7727, allocations: 142.9 kB / 0.9595 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/0.7728, allocations: 5.281 kB / 0.9595 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.7729, allocations: 16.16 kB / 0.9595 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.773, allocations: 31.7 kB / 0.9596 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.7731, allocations: 16.58 kB / 0.9596 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001925/0.7733, allocations: 228.8 kB / 0.9598 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7733, allocations: 0 / 0.9598 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003391/0.7736, allocations: 60.52 kB / 0.9598 GB, free: 1.164 MB / 0.7169 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.000954/0.7746, allocations: 408 kB / 0.9602 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000546/0.7751, allocations: 292.8 kB / 0.9605 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7751, allocations: 0 / 0.9605 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.7753, allocations: 128.2 kB / 0.9606 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.7756, allocations: 33.41 kB / 0.9607 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008875/0.7765, allocations: 0.578 MB / 0.9612 GB, free: 404 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.7769, allocations: 0.761 MB / 0.962 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003545/0.7772, allocations: 144.2 kB / 0.9621 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.01e-05/0.7773, allocations: 43.39 kB / 0.9622 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of SimCode: time 3.6e-07/0.7773, allocations: 5.062 kB / 0.9622 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of Templates: time 0.007151/0.7845, allocations: 3.032 MB / 0.9651 GB, free: 14.05 MB / 0.7325 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches