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.008298/0.008298, allocations: 101.3 kB / 15.73 MB, free: 5.996 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.001933/0.001933, allocations: 187.4 kB / 16.67 MB, free: 5.93 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.797/2.797, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 71.88 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3712, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003065/0.3743, allocations: 1.651 MB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001874/0.3761, allocations: 1.191 MB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.3762, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.3764, allocations: 19.84 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.3767, allocations: 71.62 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.3771, allocations: 155.4 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002999/0.3774, allocations: 249.5 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3775, allocations: 23.98 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.3776, allocations: 87.81 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.3779, allocations: 91.7 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.71e-05/0.3779, allocations: 16 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.378, allocations: 75.92 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.3782, allocations: 83.8 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.3783, allocations: 107.3 kB / 1.224 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.3786, allocations: 298.8 kB / 1.225 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3786, allocations: 0 / 1.225 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3786, allocations: 0 / 1.225 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.3787, allocations: 4 kB / 1.225 GB, free: 9.676 MB / 0.9825 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.0009473/0.3796, allocations: 0.5457 MB / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3796, allocations: 8.031 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.52e-05/0.3797, allocations: 32.75 kB / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.38, allocations: 269 kB / 1.225 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.38, allocations: 8.375 kB / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.3801, allocations: 16.38 kB / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.3804, allocations: 226.4 kB / 1.226 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3804, allocations: 4 kB / 1.226 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.3805, allocations: 4 kB / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3805, allocations: 4 kB / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008044/0.3813, allocations: 0.7373 MB / 1.226 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008805/0.3821, allocations: 0.5706 MB / 1.227 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/0.3825, allocations: 216.9 kB / 1.227 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.3827, allocations: 92.81 kB / 1.227 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.096e-05/0.3827, allocations: 19.95 kB / 1.227 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003494/0.3831, allocations: 177.4 kB / 1.227 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 1.492e-06/0.3831, allocations: 0 / 1.227 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.0006861/0.3837, allocations: 370.9 kB / 1.228 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.3839, allocations: 136.5 kB / 1.228 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.3842, allocations: 304.9 kB / 1.228 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.3842, allocations: 33.7 kB / 1.228 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.3843, allocations: 128.7 kB / 1.228 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.3844, allocations: 115.1 kB / 1.228 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.228e-05/0.3845, allocations: 57.69 kB / 1.229 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.3847, allocations: 338.8 kB / 1.229 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.3849, allocations: 79.95 kB / 1.229 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.3851, allocations: 132.4 kB / 1.229 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.3854, allocations: 200.7 kB / 1.229 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3854, allocations: 0 / 1.229 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000437/0.3858, allocations: 277.9 kB / 1.23 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.3858, allocations: 4 kB / 1.23 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3859, allocations: 4 kB / 1.23 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.3859, allocations: 4 kB / 1.23 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.3861, allocations: 55.91 kB / 1.23 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.3861, allocations: 11.94 kB / 1.23 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.3863, allocations: 35.77 kB / 1.23 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.3863, allocations: 8 kB / 1.23 GB, free: 4.238 MB / 0.9825 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.0001957/0.3865, allocations: 161.8 kB / 1.23 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.684e-05/0.3866, allocations: 27.84 kB / 1.23 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006502/0.3872, allocations: 376.7 kB / 1.23 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3872, allocations: 4 kB / 1.23 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.3872, allocations: 0 / 1.23 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.3872, allocations: 7.922 kB / 1.23 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.3876, allocations: 329.3 kB / 1.231 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3876, allocations: 4 kB / 1.231 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.3877, allocations: 47.98 kB / 1.231 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3877, allocations: 48 / 1.231 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.3877, allocations: 19.91 kB / 1.231 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3877, allocations: 0 / 1.231 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3877, allocations: 4 kB / 1.231 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004727/0.3882, allocations: 318.4 kB / 1.231 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.3883, allocations: 148.8 kB / 1.231 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.3884, allocations: 12 kB / 1.231 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.3885, allocations: 15.92 kB / 1.231 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.3886, allocations: 23.91 kB / 1.231 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.3886, allocations: 23.98 kB / 1.231 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002007/0.3888, allocations: 232.5 kB / 1.231 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3888, allocations: 0 / 1.231 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002861/0.3891, allocations: 55.98 kB / 1.231 GB, free: 2.363 MB / 0.9825 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.001026/0.3901, allocations: 410.4 kB / 1.232 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004101/0.3905, allocations: 220 kB / 1.232 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3906, allocations: 0 / 1.232 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.3907, allocations: 111.8 kB / 1.232 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.391, allocations: 35.62 kB / 1.232 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008018/0.3918, allocations: 0.5008 MB / 1.233 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.3922, allocations: 0.7652 MB / 1.233 GB, free: 432 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003073/0.3925, allocations: 146.8 kB / 1.234 GB, free: 288 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.877e-05/0.3925, allocations: 39.42 kB / 1.234 GB, free: 248 kB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3925, allocations: 3.938 kB / 1.234 GB, free: 244 kB / 0.9825 GB Notification: Performance of Templates: time 0.006819/0.3994, allocations: 3.098 MB / 1.237 GB, free: 13.17 MB / 0.9981 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=480 -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/jenkins/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