Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.619/1.619, allocations: 249.5 MB / 257 MB, free: 6.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 172.9 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.3 MB / 0.5671 GB, free: 15.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00099/0.00099, allocations: 82.55 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.258e-05/2.261e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2639, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8351/1.099, allocations: 135.1 MB / 1.017 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/1.099, allocations: 88.66 kB / 1.017 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02031/1.12, allocations: 7.77 MB / 1.025 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.092e-06/1.12, allocations: 0 / 1.025 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.607e-05/1.12, allocations: 4 kB / 1.025 GB, free: 12.3 MB / 0.6511 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.0007084/1.121, allocations: 480.5 kB / 1.025 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/1.121, allocations: 8.031 kB / 1.025 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.878e-05/1.121, allocations: 27.72 kB / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/1.121, allocations: 263.1 kB / 1.026 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/1.121, allocations: 14.92 kB / 1.026 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/1.121, allocations: 8 kB / 1.026 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008914/1.122, allocations: 0.7225 MB / 1.026 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/1.122, allocations: 192.5 kB / 1.026 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.122, allocations: 0 / 1.026 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/1.122, allocations: 0 / 1.026 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/1.122, allocations: 4 kB / 1.026 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008331/1.123, allocations: 0.5395 MB / 1.027 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/1.124, allocations: 203.9 kB / 1.027 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/1.124, allocations: 89.17 kB / 1.027 GB, free: 9.953 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.374e-05/1.124, allocations: 19.41 kB / 1.027 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002863/1.124, allocations: 161.2 kB / 1.027 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 1.803e-06/1.124, allocations: 3.938 kB / 1.027 GB, free: 9.793 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.0004817/1.125, allocations: 254.8 kB / 1.028 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/1.125, allocations: 133.5 kB / 1.028 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/1.125, allocations: 253.4 kB / 1.028 GB, free: 9.223 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/1.125, allocations: 25.7 kB / 1.028 GB, free: 9.191 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/1.125, allocations: 128.6 kB / 1.028 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.121e-05/1.125, allocations: 104.9 kB / 1.028 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/1.125, allocations: 0 / 1.028 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.125, allocations: 347 kB / 1.029 GB, free: 8.66 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/1.125, allocations: 64.61 kB / 1.029 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/1.126, allocations: 119 kB / 1.029 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/1.126, allocations: 94.38 kB / 1.029 GB, free: 8.453 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.126, allocations: 0 / 1.029 GB, free: 8.453 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003712/1.126, allocations: 253.4 kB / 1.029 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/1.126, allocations: 4 kB / 1.029 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.126, allocations: 0 / 1.029 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/1.126, allocations: 4 kB / 1.029 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/1.126, allocations: 58.72 kB / 1.029 GB, free: 8.184 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/1.126, allocations: 4 kB / 1.029 GB, free: 8.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/1.127, allocations: 23.77 kB / 1.029 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/1.127, allocations: 11.31 kB / 1.029 GB, free: 8.148 MB / 0.6511 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 0.000108/1.127, allocations: 127.4 kB / 1.029 GB, free: 8.02 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/1.127, allocations: 31.66 kB / 1.029 GB, free: 7.988 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000629/1.127, allocations: 354.7 kB / 1.03 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/1.127, allocations: 7.984 kB / 1.03 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.127, allocations: 0 / 1.03 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.127, allocations: 0 / 1.03 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/1.128, allocations: 298.8 kB / 1.03 GB, free: 7.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.128, allocations: 0 / 1.03 GB, free: 7.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/1.128, allocations: 59.91 kB / 1.03 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/1.128, allocations: 0 / 1.03 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/1.128, allocations: 11.42 kB / 1.03 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/1.128, allocations: 4 kB / 1.03 GB, free: 7.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.128, allocations: 0 / 1.03 GB, free: 7.34 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/1.128, allocations: 292.9 kB / 1.03 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/1.129, allocations: 156.8 kB / 1.031 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/1.129, allocations: 3.938 kB / 1.031 GB, free: 6.934 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/1.129, allocations: 15.98 kB / 1.031 GB, free: 6.918 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/1.129, allocations: 19.97 kB / 1.031 GB, free: 6.898 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/1.129, allocations: 15.3 kB / 1.031 GB, free: 6.887 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001929/1.129, allocations: 213.5 kB / 1.031 GB, free: 6.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.129, allocations: 0 / 1.031 GB, free: 6.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000295/1.129, allocations: 52 kB / 1.031 GB, free: 6.68 MB / 0.6511 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.0008283/1.13, allocations: 360.5 kB / 1.031 GB, free: 6.398 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003284/1.131, allocations: 201.7 kB / 1.031 GB, free: 6.25 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/1.131, allocations: 0 / 1.031 GB, free: 6.25 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/1.131, allocations: 116.1 kB / 1.032 GB, free: 6.164 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/1.131, allocations: 23.23 kB / 1.032 GB, free: 6.145 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006561/1.132, allocations: 377.9 kB / 1.032 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/1.132, allocations: 0.7643 MB / 1.033 GB, free: 5.027 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003261/1.132, allocations: 155.1 kB / 1.033 GB, free: 4.879 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.228e-05/1.132, allocations: 39.05 kB / 1.033 GB, free: 4.844 MB / 0.6511 GB Notification: Performance of SimCode: time 2.8e-07/1.132, allocations: 0 / 1.033 GB, free: 4.844 MB / 0.6511 GB Notification: Performance of Templates: time 0.006289/1.139, allocations: 2.847 MB / 1.036 GB, free: 2.023 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches