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.0009625/0.0009624, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.01026/0.01026, allocations: 173.9 kB / 16.27 MB, free: 6.613 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.456/1.456, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.541/2.541, allocations: 390.9 MB / 0.6663 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004188/0.0004188, allocations: 8 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.768/0.7684, allocations: 142.4 MB / 0.955 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.001897/0.7704, allocations: 1.377 MB / 0.9564 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.7719, allocations: 1.127 MB / 0.9575 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.325e-05/0.7719, allocations: 1.125 kB / 0.9575 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.7722, allocations: 25.73 kB / 0.9575 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.7724, allocations: 52.06 kB / 0.9576 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.7727, allocations: 130.9 kB / 0.9577 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.773, allocations: 231.4 kB / 0.9579 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.492e-05/0.7731, allocations: 13.81 kB / 0.9579 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/0.7731, allocations: 77.28 kB / 0.958 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.7733, allocations: 85.08 kB / 0.9581 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.7734, allocations: 8.75 kB / 0.9581 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.7735, allocations: 69.16 kB / 0.9582 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.408e-05/0.7736, allocations: 83.17 kB / 0.9582 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.558e-05/0.7737, allocations: 118.2 kB / 0.9583 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.774, allocations: 265.9 kB / 0.9586 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.774, allocations: 0 / 0.9586 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.774, allocations: 0 / 0.9586 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.774, allocations: 1.375 kB / 0.9586 GB, free: 5.07 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.0005824/0.7746, allocations: 497.1 kB / 0.9591 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.7746, allocations: 13.62 kB / 0.9591 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.147e-05/0.7747, allocations: 28.94 kB / 0.9591 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.7749, allocations: 270.9 kB / 0.9594 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.775, allocations: 9.875 kB / 0.9594 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.775, allocations: 15.38 kB / 0.9594 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.7753, allocations: 225.5 kB / 0.9596 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.7753, allocations: 0 / 0.9596 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.7754, allocations: 10.75 kB / 0.9596 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.7754, allocations: 4.125 kB / 0.9596 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008145/0.7762, allocations: 0.7378 MB / 0.9603 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007998/0.777, allocations: 0.5763 MB / 0.9609 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.7774, allocations: 230.7 kB / 0.9611 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.7776, allocations: 105.2 kB / 0.9612 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.665e-05/0.7777, allocations: 16.28 kB / 0.9612 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003733/0.778, allocations: 173.3 kB / 0.9614 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 1.744e-06/0.7781, allocations: 3.938 kB / 0.9614 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.0006896/0.7787, allocations: 362.1 kB / 0.9618 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.7788, allocations: 137.7 kB / 0.9619 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.7791, allocations: 310.8 kB / 0.9622 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.7792, allocations: 30.98 kB / 0.9622 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.7792, allocations: 130.5 kB / 0.9623 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.867e-05/0.7793, allocations: 108.6 kB / 0.9624 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.7794, allocations: 34.36 kB / 0.9625 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.488e-05/0.7794, allocations: 333.8 kB / 0.9628 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.7796, allocations: 79.39 kB / 0.9629 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.7798, allocations: 126.8 kB / 0.963 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.7801, allocations: 213.7 kB / 0.9632 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7801, allocations: 0 / 0.9632 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004035/0.7805, allocations: 268.5 kB / 0.9635 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.7805, allocations: 5.406 kB / 0.9635 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.7805, allocations: 0 / 0.9635 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.7805, allocations: 1.188 kB / 0.9635 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.7808, allocations: 65.78 kB / 0.9635 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.7808, allocations: 2.344 kB / 0.9635 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.781, allocations: 38.81 kB / 0.9636 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.781, allocations: 16.95 kB / 0.9636 GB, free: 1.418 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.0001424/0.7811, allocations: 156.9 kB / 0.9637 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.7812, allocations: 24.5 kB / 0.9638 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006512/0.7818, allocations: 374.8 kB / 0.9641 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.7819, allocations: 7.438 kB / 0.9641 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.7819, allocations: 4 kB / 0.9641 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.7819, allocations: 3.938 kB / 0.9641 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.7822, allocations: 327.8 kB / 0.9644 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.7822, allocations: 0 / 0.9644 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.7824, allocations: 56.28 kB / 0.9645 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.7824, allocations: 1.344 kB / 0.9645 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.7824, allocations: 8.156 kB / 0.9645 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.7824, allocations: 8.906 kB / 0.9645 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7824, allocations: 0 / 0.9645 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004455/0.7829, allocations: 322.1 kB / 0.9648 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.783, allocations: 143.4 kB / 0.965 GB, free: 408 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.783, allocations: 10.05 kB / 0.965 GB, free: 400 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.7832, allocations: 21.3 kB / 0.965 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.7833, allocations: 24.28 kB / 0.965 GB, free: 376 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.7833, allocations: 13.06 kB / 0.965 GB, free: 372 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001946/0.7835, allocations: 236.8 kB / 0.9652 GB, free: 220 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7835, allocations: 4 kB / 0.9652 GB, free: 216 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000303/0.7838, allocations: 56.47 kB / 0.9653 GB, free: 204 kB / 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.0009669/0.7848, allocations: 412.2 kB / 0.9657 GB, free: 16 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000433/0.7852, allocations: 221.7 kB / 0.9659 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7853, allocations: 0 / 0.9659 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.7855, allocations: 128.7 kB / 0.966 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.7858, allocations: 33.16 kB / 0.9661 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008859/0.7867, allocations: 0.5813 MB / 0.9666 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.787, allocations: 0.7628 MB / 0.9674 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003247/0.7874, allocations: 148 kB / 0.9675 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.709e-05/0.7875, allocations: 43.53 kB / 0.9676 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/0.7875, allocations: 0 / 0.9676 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.006603/0.7941, allocations: 2.9 MB / 0.9704 GB, free: 13.16 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