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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00146/0.00146, allocations: 103.8 kB / 16.36 MB, free: 5.547 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.001524/0.001524, allocations: 194.5 kB / 17.31 MB, free: 5.184 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.488/2.488, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 60.44 kB / 0.8707 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3265, allocations: 151.6 MB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003511/0.33, allocations: 1.652 MB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001899/0.3319, allocations: 1.183 MB / 1.022 GB, free: 7.023 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.718e-05/0.332, allocations: 4 kB / 1.022 GB, free: 7.02 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.3323, allocations: 23.83 kB / 1.022 GB, free: 6.996 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003238/0.3326, allocations: 75.56 kB / 1.022 GB, free: 6.922 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.333, allocations: 149.6 kB / 1.022 GB, free: 6.781 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000296/0.3333, allocations: 253.4 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3335, allocations: 23.98 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.786e-05/0.3336, allocations: 83.81 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.3338, allocations: 98.11 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.3338, allocations: 16 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.334, allocations: 75.92 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.3341, allocations: 83.8 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.3342, allocations: 107.3 kB / 1.023 GB, free: 6.059 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003397/0.3346, allocations: 295 kB / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3346, allocations: 0 / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3346, allocations: 4 kB / 1.023 GB, free: 5.766 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.3346, allocations: 0 / 1.023 GB, free: 5.766 MB / 0.795 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.0007903/0.3354, allocations: 0.5345 MB / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.3354, allocations: 8.031 kB / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.554e-05/0.3355, allocations: 28.56 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.3358, allocations: 272.8 kB / 1.024 GB, free: 4.836 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.3359, allocations: 8.375 kB / 1.024 GB, free: 4.828 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.3359, allocations: 16.38 kB / 1.024 GB, free: 4.812 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.3363, allocations: 226.4 kB / 1.024 GB, free: 4.574 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3363, allocations: 0 / 1.024 GB, free: 4.574 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.3363, allocations: 8 kB / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.3363, allocations: 4 kB / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008617/0.3372, allocations: 0.7371 MB / 1.025 GB, free: 3.824 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009091/0.3381, allocations: 0.5858 MB / 1.025 GB, free: 3.188 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/0.3385, allocations: 224 kB / 1.025 GB, free: 2.961 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.3386, allocations: 96.81 kB / 1.025 GB, free: 2.863 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.614e-05/0.3387, allocations: 23.97 kB / 1.025 GB, free: 2.84 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002983/0.339, allocations: 170 kB / 1.026 GB, free: 2.66 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 1.934e-06/0.339, allocations: 4 kB / 1.026 GB, free: 2.656 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.0006532/0.3396, allocations: 362.8 kB / 1.026 GB, free: 2.297 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.727e-05/0.3397, allocations: 140.5 kB / 1.026 GB, free: 2.129 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.34, allocations: 308.9 kB / 1.026 GB, free: 1.82 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.3401, allocations: 29.7 kB / 1.026 GB, free: 1.785 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.825e-05/0.3402, allocations: 128.7 kB / 1.027 GB, free: 1.656 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.911e-05/0.3403, allocations: 102.4 kB / 1.027 GB, free: 1.555 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.16e-05/0.3404, allocations: 65.69 kB / 1.027 GB, free: 1.484 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3405, allocations: 342.8 kB / 1.027 GB, free: 1.141 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.3406, allocations: 79.95 kB / 1.027 GB, free: 1.062 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.3408, allocations: 123.3 kB / 1.027 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.3412, allocations: 210.3 kB / 1.027 GB, free: 0.7227 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3412, allocations: 0 / 1.027 GB, free: 0.7227 MB / 0.795 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004446/0.3416, allocations: 269.3 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3416, allocations: 8 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.3417, allocations: 0 / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.3417, allocations: 0 / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.3419, allocations: 63.89 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.3419, allocations: 4 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.3421, allocations: 27.72 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.3421, allocations: 15.98 kB / 1.028 GB, free: 344 kB / 0.795 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.0001754/0.3423, allocations: 157.8 kB / 1.028 GB, free: 176 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.3424, allocations: 27.62 kB / 1.028 GB, free: 148 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000717/0.3431, allocations: 384.9 kB / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.3431, allocations: 4 kB / 1.028 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3431, allocations: 0 / 1.028 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.3431, allocations: 7.922 kB / 1.028 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/0.3435, allocations: 329.4 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3435, allocations: 7.984 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.3437, allocations: 55.91 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3437, allocations: 0 / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.3437, allocations: 15.98 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3437, allocations: 0 / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3437, allocations: 0 / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004653/0.3442, allocations: 313.8 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.3443, allocations: 136.7 kB / 1.029 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.853e-05/0.3444, allocations: 15.98 kB / 1.029 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.3445, allocations: 15.98 kB / 1.029 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.884e-05/0.3446, allocations: 27.91 kB / 1.029 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.3447, allocations: 12 kB / 1.029 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002062/0.3449, allocations: 232.4 kB / 1.029 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3449, allocations: 0 / 1.029 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002914/0.3452, allocations: 63.84 kB / 1.03 GB, free: 14.47 MB / 0.8106 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.0009482/0.3461, allocations: 415.6 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003936/0.3465, allocations: 224.3 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3465, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.3467, allocations: 128.4 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.347, allocations: 34.72 kB / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008021/0.3478, allocations: 0.4942 MB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.3482, allocations: 0.7618 MB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003369/0.3486, allocations: 142.9 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.598e-05/0.3487, allocations: 39.42 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of SimCode: time 3.267e-06/0.3487, allocations: 0 / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of Templates: time 0.006987/0.3557, allocations: 3.042 MB / 1.035 GB, free: 9.32 MB / 0.8106 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=480 -s cvode -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/jenkins1/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