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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.345/2.345, allocations: 387.4 MB / 394.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 176.7 kB / 487.4 MB, free: 5.078 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 221.5 MB / 0.7824 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 98.05 kB / 0.9219 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.208e-05/2.196e-05, allocations: 9.719 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3062, allocations: 142.3 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.014/1.321, allocations: 152.2 MB / 1.355 GB, free: 18.24 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/1.321, allocations: 78.59 kB / 1.355 GB, free: 18.24 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01954/1.341, allocations: 7.979 MB / 1.362 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.703e-06/1.341, allocations: 0 / 1.362 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.959e-05/1.341, allocations: 7.406 kB / 1.362 GB, free: 33.49 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007219/1.341, allocations: 485.4 kB / 1.363 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/1.341, allocations: 7.75 kB / 1.363 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/1.342, allocations: 27.25 kB / 1.363 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/1.342, allocations: 271.7 kB / 1.363 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/1.342, allocations: 7.25 kB / 1.363 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/1.342, allocations: 11.31 kB / 1.363 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008038/1.343, allocations: 0.717 MB / 1.364 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/1.343, allocations: 197.2 kB / 1.364 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/1.343, allocations: 0 / 1.364 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/1.343, allocations: 0 / 1.364 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/1.343, allocations: 3.812 kB / 1.364 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007665/1.344, allocations: 0.5234 MB / 1.365 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/1.344, allocations: 208 kB / 1.365 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/1.344, allocations: 91.97 kB / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.494e-05/1.344, allocations: 20.78 kB / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002319/1.345, allocations: 160.6 kB / 1.365 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=33): time 1.673e-06/1.345, allocations: 0 / 1.365 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.0004179/1.345, allocations: 257.6 kB / 1.365 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/1.345, allocations: 136.4 kB / 1.365 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/1.345, allocations: 255.3 kB / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/1.345, allocations: 29.64 kB / 1.366 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.109e-05/1.346, allocations: 125.4 kB / 1.366 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.925e-05/1.346, allocations: 99.41 kB / 1.366 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/1.346, allocations: 0 / 1.366 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.346, allocations: 342.1 kB / 1.366 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/1.346, allocations: 73.53 kB / 1.366 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/1.346, allocations: 120 kB / 1.366 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/1.346, allocations: 93.17 kB / 1.367 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.346, allocations: 0 / 1.367 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003005/1.346, allocations: 255.3 kB / 1.367 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/1.347, allocations: 7.781 kB / 1.367 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/1.347, allocations: 3.812 kB / 1.367 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/1.347, allocations: 0 / 1.367 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/1.347, allocations: 62.73 kB / 1.367 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/1.347, allocations: 4 kB / 1.367 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/1.347, allocations: 26.61 kB / 1.367 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/1.347, allocations: 10.55 kB / 1.367 GB, free: 31.46 MB / 0.8386 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.775e-05/1.347, allocations: 112.7 kB / 1.367 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/1.347, allocations: 23.09 kB / 1.367 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005388/1.348, allocations: 365.4 kB / 1.367 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/1.348, allocations: 0 / 1.367 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.348, allocations: 3.969 kB / 1.367 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.348, allocations: 2.484 kB / 1.367 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/1.348, allocations: 302.5 kB / 1.368 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.348, allocations: 0 / 1.368 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/1.348, allocations: 51.77 kB / 1.368 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/1.348, allocations: 7.812 kB / 1.368 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/1.348, allocations: 7.531 kB / 1.368 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/1.348, allocations: 0 / 1.368 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.348, allocations: 2.953 kB / 1.368 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/1.348, allocations: 308.2 kB / 1.368 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/1.349, allocations: 149.7 kB / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/1.349, allocations: 0 / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/1.349, allocations: 13.39 kB / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/1.349, allocations: 23.09 kB / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/1.349, allocations: 17.7 kB / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001696/1.349, allocations: 214.3 kB / 1.368 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.349, allocations: 0 / 1.368 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003068/1.349, allocations: 56.84 kB / 1.369 GB, free: 30.79 MB / 0.8386 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008049/1.35, allocations: 353 kB / 1.369 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002902/1.35, allocations: 203 kB / 1.369 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.35, allocations: 4 kB / 1.369 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/1.351, allocations: 114 kB / 1.369 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/1.351, allocations: 28.27 kB / 1.369 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00057/1.351, allocations: 379.9 kB / 1.37 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/1.352, allocations: 0.7573 MB / 1.37 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003018/1.352, allocations: 152.9 kB / 1.37 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.348e-05/1.352, allocations: 40.28 kB / 1.37 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of SimCode: time 1.202e-06/1.352, allocations: 0 / 1.37 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of Templates: time 0.00561/1.358, allocations: 2.845 MB / 1.373 GB, free: 29.4 MB / 0.8386 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","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches