Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001142/0.001142, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00968/0.00968, allocations: 170.1 kB / 16.27 MB, free: 6.328 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.408/1.408, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.719/2.719, allocations: 462.7 MB / 0.7364 GB, free: 252 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.000348, allocations: 14.77 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3493, allocations: 159.6 MB / 1.059 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002174/0.3516, allocations: 1.373 MB / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001734/0.3533, allocations: 1.128 MB / 1.061 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.629e-05/0.3534, allocations: 3.938 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.3537, allocations: 19.92 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.3539, allocations: 59.75 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.3543, allocations: 139 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.3546, allocations: 233.4 kB / 1.062 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.3547, allocations: 12 kB / 1.062 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.3549, allocations: 75.83 kB / 1.062 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.3551, allocations: 87.7 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.3551, allocations: 11.94 kB / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.3553, allocations: 75.89 kB / 1.062 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.727e-05/0.3554, allocations: 63.81 kB / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.3555, allocations: 129 kB / 1.062 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.3558, allocations: 267.4 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3558, allocations: 0 / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3559, allocations: 0 / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3559, allocations: 0 / 1.062 GB, free: 1.766 MB / 0.8106 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.0007575/0.3566, allocations: 499.5 kB / 1.063 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.3567, allocations: 12.02 kB / 1.063 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.625e-05/0.3567, allocations: 24.66 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.3571, allocations: 268.8 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.3572, allocations: 8.375 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.3572, allocations: 20.31 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.3576, allocations: 220.9 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3576, allocations: 0 / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.3576, allocations: 11.98 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.3577, allocations: 7.984 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008521/0.3585, allocations: 0.7349 MB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.3595, allocations: 0.5912 MB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.3599, allocations: 216 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.3601, allocations: 96.81 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.748e-05/0.3601, allocations: 23.97 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003367/0.3605, allocations: 173.5 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 1.833e-06/0.3605, allocations: 0 / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.000654/0.3611, allocations: 366.8 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.336e-05/0.3612, allocations: 136.5 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.3615, allocations: 308.9 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.3615, allocations: 29.7 kB / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.515e-05/0.3616, allocations: 128.7 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.493e-05/0.3617, allocations: 110.4 kB / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.3618, allocations: 29.7 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3619, allocations: 338.8 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.3621, allocations: 87.89 kB / 1.067 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.3622, allocations: 119.4 kB / 1.067 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.3625, allocations: 210.3 kB / 1.067 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3625, allocations: 0 / 1.067 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003962/0.3629, allocations: 269.3 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.363, allocations: 4 kB / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.363, allocations: 0 / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.363, allocations: 0 / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.3632, allocations: 67.84 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.3632, allocations: 4 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.3634, allocations: 35.7 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.3634, allocations: 8 kB / 1.067 GB, free: 12.42 MB / 0.8262 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.000183/0.3636, allocations: 165.7 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.516e-05/0.3637, allocations: 27.62 kB / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006765/0.3643, allocations: 381 kB / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.088e-06/0.3644, allocations: 7.984 kB / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3644, allocations: 0 / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.3644, allocations: 3.938 kB / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003689/0.3648, allocations: 333.2 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.3648, allocations: 0 / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.3649, allocations: 59.91 kB / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3649, allocations: 0 / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.365, allocations: 8 kB / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.365, allocations: 4 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.365, allocations: 4 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004481/0.3654, allocations: 313.7 kB / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.3656, allocations: 144.6 kB / 1.069 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.3656, allocations: 8 kB / 1.069 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.3658, allocations: 18.83 kB / 1.069 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/0.3659, allocations: 31.89 kB / 1.069 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.3659, allocations: 20 kB / 1.069 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002084/0.3661, allocations: 232.4 kB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.084e-06/0.3661, allocations: 0 / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002923/0.3664, allocations: 67.88 kB / 1.069 GB, free: 10.52 MB / 0.8262 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.0009745/0.3674, allocations: 404.7 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004064/0.3678, allocations: 224.3 kB / 1.07 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3679, allocations: 0 / 1.07 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.368, allocations: 128.4 kB / 1.07 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.3683, allocations: 36.66 kB / 1.07 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009419/0.3693, allocations: 0.5745 MB / 1.07 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.3697, allocations: 0.7613 MB / 1.071 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003449/0.3701, allocations: 150.8 kB / 1.071 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.5e-05/0.3702, allocations: 39.42 kB / 1.071 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.3702, allocations: 0 / 1.071 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of Templates: time 0.007013/0.3772, allocations: 2.914 MB / 1.074 GB, free: 5.422 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches