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.502/1.502, allocations: 249.3 MB / 261.9 MB, free: 5.859 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.0009707/0.0009708, allocations: 176.4 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.001008/0.001008, allocations: 98.45 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.934e-05/3.95e-05, allocations: 7.984 kB / 0.788 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.248, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8136/1.062, allocations: 134.8 MB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/1.062, allocations: 91.11 kB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02093/1.083, allocations: 7.915 MB / 1.031 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.498e-06/1.083, allocations: 0 / 1.031 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.129e-05/1.083, allocations: 7.938 kB / 1.031 GB, free: 9.305 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.0007767/1.084, allocations: 475.8 kB / 1.032 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.183e-05/1.084, allocations: 12.03 kB / 1.032 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.846e-05/1.084, allocations: 23.72 kB / 1.032 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004788/1.085, allocations: 267.2 kB / 1.032 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/1.085, allocations: 18 kB / 1.032 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/1.085, allocations: 11.25 kB / 1.032 GB, free: 8.473 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000413/1.085, allocations: 210.1 kB / 1.032 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/1.085, allocations: 4 kB / 1.032 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/1.085, allocations: 3.875 kB / 1.032 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/1.085, allocations: 4 kB / 1.032 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009873/1.086, allocations: 0.7307 MB / 1.033 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/1.087, allocations: 0.5844 MB / 1.034 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/1.088, allocations: 217 kB / 1.034 GB, free: 6.945 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/1.088, allocations: 95.16 kB / 1.034 GB, free: 6.879 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.334e-05/1.088, allocations: 15.97 kB / 1.034 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003453/1.088, allocations: 174.2 kB / 1.034 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/1.088, allocations: 4 kB / 1.034 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.0005623/1.089, allocations: 270.6 kB / 1.034 GB, free: 6.496 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/1.089, allocations: 140.5 kB / 1.034 GB, free: 6.328 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/1.089, allocations: 262.1 kB / 1.035 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/1.089, allocations: 33.27 kB / 1.035 GB, free: 6.078 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/1.089, allocations: 122.9 kB / 1.035 GB, free: 5.977 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/1.089, allocations: 109 kB / 1.035 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.422e-05/1.09, allocations: 7.25 kB / 1.035 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001724/1.09, allocations: 338 kB / 1.035 GB, free: 5.551 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/1.09, allocations: 81.09 kB / 1.035 GB, free: 5.496 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/1.09, allocations: 115.5 kB / 1.035 GB, free: 5.398 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/1.09, allocations: 98.03 kB / 1.036 GB, free: 5.328 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.09, allocations: 0 / 1.036 GB, free: 5.328 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004213/1.091, allocations: 278 kB / 1.036 GB, free: 5.105 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/1.091, allocations: 4 kB / 1.036 GB, free: 5.102 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.091, allocations: 4 kB / 1.036 GB, free: 5.098 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/1.091, allocations: 0 / 1.036 GB, free: 5.098 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/1.091, allocations: 55.91 kB / 1.036 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/1.091, allocations: 4 kB / 1.036 GB, free: 5.039 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/1.091, allocations: 38.41 kB / 1.036 GB, free: 5.008 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/1.091, allocations: 12.05 kB / 1.036 GB, free: 4.996 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.0001294/1.091, allocations: 126.9 kB / 1.036 GB, free: 4.875 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/1.091, allocations: 27.62 kB / 1.036 GB, free: 4.848 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007267/1.092, allocations: 373.5 kB / 1.036 GB, free: 4.559 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/1.092, allocations: 4 kB / 1.036 GB, free: 4.555 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.092, allocations: 0 / 1.036 GB, free: 4.555 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/1.092, allocations: 3.984 kB / 1.036 GB, free: 4.551 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000381/1.093, allocations: 334 kB / 1.037 GB, free: 4.223 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.093, allocations: 8 kB / 1.037 GB, free: 4.215 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/1.093, allocations: 51.91 kB / 1.037 GB, free: 4.164 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/1.093, allocations: 4 kB / 1.037 GB, free: 4.16 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/1.093, allocations: 11.25 kB / 1.037 GB, free: 4.156 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/1.093, allocations: 0 / 1.037 GB, free: 4.156 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/1.093, allocations: 0 / 1.037 GB, free: 4.156 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004702/1.093, allocations: 321.7 kB / 1.037 GB, free: 3.883 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/1.093, allocations: 158.4 kB / 1.037 GB, free: 3.727 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/1.093, allocations: 7.375 kB / 1.037 GB, free: 3.723 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/1.094, allocations: 23.42 kB / 1.037 GB, free: 3.707 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/1.094, allocations: 19.97 kB / 1.037 GB, free: 3.688 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/1.094, allocations: 15.05 kB / 1.037 GB, free: 3.676 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002109/1.094, allocations: 214.5 kB / 1.038 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/1.094, allocations: 0 / 1.038 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000337/1.094, allocations: 69.98 kB / 1.038 GB, free: 3.457 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.001028/1.095, allocations: 370.6 kB / 1.038 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003704/1.096, allocations: 218.9 kB / 1.038 GB, free: 3.016 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.096, allocations: 0 / 1.038 GB, free: 3.016 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/1.096, allocations: 131.7 kB / 1.038 GB, free: 2.914 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/1.096, allocations: 31.36 kB / 1.038 GB, free: 2.895 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000696/1.097, allocations: 397.5 kB / 1.039 GB, free: 2.551 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/1.097, allocations: 0.7616 MB / 1.039 GB, free: 1.766 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000332/1.098, allocations: 154.8 kB / 1.04 GB, free: 1.609 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.419e-05/1.098, allocations: 44.34 kB / 1.04 GB, free: 1.57 MB / 0.6511 GB Notification: Performance of SimCode: time 5.51e-07/1.098, allocations: 0 / 1.04 GB, free: 1.57 MB / 0.6511 GB Notification: Performance of Templates: time 0.006506/1.104, allocations: 3.027 MB / 1.043 GB, free: 14.57 MB / 0.6667 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