Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001695/0.001695, allocations: 109.1 kB / 15.99 MB, free: 6.352 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.001897/0.001897, allocations: 189.2 kB / 16.91 MB, free: 6.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.42/1.42, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.726/2.726, allocations: 469.8 MB / 0.7427 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 74.58 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3548, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003223/0.3581, allocations: 1.708 MB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.3598, allocations: 1.152 MB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.902e-05/0.3599, allocations: 0 / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.3601, allocations: 23.84 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002457/0.3604, allocations: 51.83 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.3608, allocations: 145.6 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.3611, allocations: 245.6 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.958e-05/0.3612, allocations: 19.98 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.3613, allocations: 79.77 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.3615, allocations: 99.7 kB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.3615, allocations: 16 kB / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.3617, allocations: 79.97 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.3618, allocations: 83.75 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.3619, allocations: 103.3 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.3622, allocations: 211.9 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3622, allocations: 4 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3622, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.3622, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8419 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.0007943/0.363, allocations: 0.5383 MB / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.3631, allocations: 8.625 kB / 1.069 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.557e-05/0.3631, allocations: 28.66 kB / 1.069 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.3635, allocations: 260.8 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.3635, allocations: 16.36 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.3635, allocations: 20.38 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003905/0.3639, allocations: 216.8 kB / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.3639, allocations: 0 / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.364, allocations: 15.98 kB / 1.069 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.364, allocations: 8 kB / 1.069 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009373/0.3649, allocations: 0.7295 MB / 1.07 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009368/0.3659, allocations: 0.5819 MB / 1.07 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003857/0.3663, allocations: 223.5 kB / 1.071 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.3665, allocations: 104.8 kB / 1.071 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.854e-05/0.3665, allocations: 19.97 kB / 1.071 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003878/0.3669, allocations: 173.4 kB / 1.071 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.3669, allocations: 3.938 kB / 1.071 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.0006963/0.3676, allocations: 362.8 kB / 1.071 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.3677, allocations: 136.5 kB / 1.071 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/0.3681, allocations: 304.9 kB / 1.072 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.3681, allocations: 37.7 kB / 1.072 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.3682, allocations: 124.7 kB / 1.072 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.3683, allocations: 110.4 kB / 1.072 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.3684, allocations: 61.69 kB / 1.072 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.3686, allocations: 338.8 kB / 1.072 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.3688, allocations: 75.95 kB / 1.072 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.369, allocations: 120.5 kB / 1.072 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.3693, allocations: 217.2 kB / 1.073 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3693, allocations: 0 / 1.073 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004477/0.3698, allocations: 269.3 kB / 1.073 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3698, allocations: 4 kB / 1.073 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.3698, allocations: 4 kB / 1.073 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3698, allocations: 3.938 kB / 1.073 GB, free: 5.746 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.37, allocations: 55.91 kB / 1.073 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3701, allocations: 4 kB / 1.073 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.3702, allocations: 39.67 kB / 1.073 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.3702, allocations: 15.98 kB / 1.073 GB, free: 5.633 MB / 0.8419 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.0001717/0.3704, allocations: 165.7 kB / 1.073 GB, free: 5.461 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.331e-05/0.3705, allocations: 23.72 kB / 1.073 GB, free: 5.438 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006925/0.3712, allocations: 377 kB / 1.074 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.3712, allocations: 7.938 kB / 1.074 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3712, allocations: 0 / 1.074 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.3712, allocations: 7.938 kB / 1.074 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003683/0.3716, allocations: 329.3 kB / 1.074 GB, free: 4.672 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3716, allocations: 0 / 1.074 GB, free: 4.672 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.3718, allocations: 55.97 kB / 1.074 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3718, allocations: 0 / 1.074 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.3718, allocations: 11.98 kB / 1.074 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.3718, allocations: 7.938 kB / 1.074 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3718, allocations: 0 / 1.074 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005007/0.3723, allocations: 313.8 kB / 1.074 GB, free: 4.273 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.3725, allocations: 144.6 kB / 1.074 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.3725, allocations: 8 kB / 1.074 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.3727, allocations: 19.97 kB / 1.074 GB, free: 4.086 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.246e-05/0.3728, allocations: 27.91 kB / 1.075 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.3728, allocations: 8 kB / 1.075 GB, free: 4.051 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002328/0.373, allocations: 240.4 kB / 1.075 GB, free: 3.816 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.373, allocations: 0 / 1.075 GB, free: 3.816 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002883/0.3733, allocations: 59.94 kB / 1.075 GB, free: 3.758 MB / 0.8419 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.001403/0.3747, allocations: 419.8 kB / 1.075 GB, free: 3.488 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005444/0.3753, allocations: 304.2 kB / 1.076 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3753, allocations: 0 / 1.076 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.3755, allocations: 119.8 kB / 1.076 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.3758, allocations: 36.59 kB / 1.076 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009598/0.3768, allocations: 0.6125 MB / 1.076 GB, free: 2.391 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.3772, allocations: 0.7574 MB / 1.077 GB, free: 1.609 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.3773, allocations: 51.41 kB / 1.077 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3773, allocations: 0 / 1.077 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of Templates: time 0.4607/0.838, allocations: 4.181 MB / 1.081 GB, free: 22.09 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches