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.001485/0.001485, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001593/0.001593, allocations: 195.2 kB / 16.14 MB, free: 6.629 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.617/1.617, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.044/3.044, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 63.91 kB / 0.8686 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7603/0.7623, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003773/0.7661, allocations: 1.721 MB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002044/0.7682, allocations: 1.14 MB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.035e-05/0.7683, allocations: 3.938 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.7686, allocations: 31.84 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.7689, allocations: 55.77 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.7693, allocations: 126 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003563/0.7697, allocations: 225.6 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.7698, allocations: 19.98 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.7699, allocations: 75.81 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003123/0.7703, allocations: 91.7 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.548e-05/0.7703, allocations: 12 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.7705, allocations: 67.92 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.7706, allocations: 79.78 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.7707, allocations: 99.33 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.7711, allocations: 273.2 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.7711, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7711, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.7711, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 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.0009709/0.7721, allocations: 0.5345 MB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.7722, allocations: 11.97 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.423e-05/0.7723, allocations: 28.56 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.7726, allocations: 276.5 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.7726, allocations: 16.38 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.7727, allocations: 16.38 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004837/0.7732, allocations: 220.8 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.7732, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.7732, allocations: 8 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.7732, allocations: 4 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.7743, allocations: 0.7373 MB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.7755, allocations: 0.582 MB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.776, allocations: 220 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.7762, allocations: 100.8 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.344e-05/0.7762, allocations: 23.97 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000438/0.7767, allocations: 177.4 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 1.933e-06/0.7767, allocations: 0 / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.0008655/0.7775, allocations: 366.8 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/0.7777, allocations: 132.5 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004744/0.7782, allocations: 312.9 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.7782, allocations: 29.7 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.7784, allocations: 124.7 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.7785, allocations: 110.5 kB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.7787, allocations: 65.69 kB / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002057/0.779, allocations: 338.8 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.7791, allocations: 79.89 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.7795, allocations: 124.5 kB / 1.025 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000446/0.7799, allocations: 209.2 kB / 1.025 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.7799, allocations: 4 kB / 1.025 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004691/0.7804, allocations: 273.2 kB / 1.025 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.7804, allocations: 6.344 kB / 1.025 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.7804, allocations: 4 kB / 1.025 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.7805, allocations: 0 / 1.025 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.7807, allocations: 59.91 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.7807, allocations: 0 / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.7809, allocations: 31.7 kB / 1.026 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.7809, allocations: 12 kB / 1.026 GB, free: 9.316 MB / 0.7794 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.0001875/0.7811, allocations: 161.8 kB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.034e-05/0.7812, allocations: 35.61 kB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007187/0.7819, allocations: 376.9 kB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.7819, allocations: 4 kB / 1.026 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.782, allocations: 3.938 kB / 1.026 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.782, allocations: 7.922 kB / 1.026 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004502/0.7824, allocations: 333.3 kB / 1.026 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.7824, allocations: 4 kB / 1.026 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.7826, allocations: 51.92 kB / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.7826, allocations: 0 / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.417e-05/0.7826, allocations: 11.98 kB / 1.027 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.7827, allocations: 4 kB / 1.027 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7827, allocations: 0 / 1.027 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005483/0.7832, allocations: 317.7 kB / 1.027 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.7834, allocations: 136.7 kB / 1.027 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.362e-05/0.7834, allocations: 8 kB / 1.027 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.7836, allocations: 23.98 kB / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.01e-05/0.7837, allocations: 23.91 kB / 1.027 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/0.7837, allocations: 15.98 kB / 1.027 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002626/0.784, allocations: 228.5 kB / 1.027 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/0.784, allocations: 0 / 1.027 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003243/0.7843, allocations: 67.89 kB / 1.027 GB, free: 7.441 MB / 0.7794 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.001514/0.7859, allocations: 414.1 kB / 1.028 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004704/0.7863, allocations: 228.3 kB / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7864, allocations: 0 / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.7866, allocations: 123.8 kB / 1.028 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.7869, allocations: 40.66 kB / 1.028 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009989/0.7879, allocations: 0.5797 MB / 1.029 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006118/0.7885, allocations: 0.7574 MB / 1.029 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003597/0.7889, allocations: 150.9 kB / 1.03 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.974e-05/0.789, allocations: 43.36 kB / 1.03 GB, free: 5.211 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.789, allocations: 0 / 1.03 GB, free: 5.211 MB / 0.7794 GB Notification: Performance of Templates: time 0.008068/0.7971, allocations: 2.935 MB / 1.032 GB, free: 2.305 MB / 0.7794 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=400 -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