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.001476/0.001476, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001755/0.001755, allocations: 193 kB / 16.13 MB, free: 6.652 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.423/1.423, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.761/2.761, allocations: 461.8 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 66.7 kB / 0.8984 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3657, allocations: 157.4 MB / 1.052 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.00313/0.3688, allocations: 1.712 MB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.3705, allocations: 1.159 MB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.3706, allocations: 4 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.3708, allocations: 23.84 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.371, allocations: 51.83 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.3714, allocations: 134.9 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.3716, allocations: 225.4 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3718, allocations: 27.92 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.932e-05/0.3718, allocations: 75.81 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.3721, allocations: 87.7 kB / 1.056 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.627e-05/0.3721, allocations: 12 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.3723, allocations: 59.98 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.3724, allocations: 79.73 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.3725, allocations: 99.33 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003367/0.3728, allocations: 275.4 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3728, allocations: 0 / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3729, allocations: 4 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.3729, allocations: 0 / 1.056 GB, free: 4.828 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.0008796/0.3738, allocations: 0.5354 MB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.3738, allocations: 8.031 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.605e-05/0.3739, allocations: 28.56 kB / 1.057 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.3742, allocations: 268.8 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.3743, allocations: 12.38 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.3743, allocations: 20.31 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003967/0.3747, allocations: 220.8 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3747, allocations: 0 / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.3748, allocations: 12 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.118e-06/0.3748, allocations: 4 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009248/0.3757, allocations: 0.7349 MB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009284/0.3767, allocations: 0.582 MB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.377, allocations: 220 kB / 1.059 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.3772, allocations: 104.8 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.483e-05/0.3773, allocations: 15.97 kB / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003623/0.3776, allocations: 177.5 kB / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=33): time 1.904e-06/0.3776, allocations: 0 / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33): time 0.0006653/0.3783, allocations: 366.8 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.604e-05/0.3784, allocations: 132.5 kB / 1.059 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.3787, allocations: 308.9 kB / 1.06 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.3787, allocations: 33.7 kB / 1.06 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.752e-05/0.3788, allocations: 124.7 kB / 1.06 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.017e-05/0.3789, allocations: 110.4 kB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.554e-05/0.379, allocations: 65.67 kB / 1.06 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3791, allocations: 342.8 kB / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.3793, allocations: 79.95 kB / 1.06 GB, free: 132 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.3795, allocations: 128.4 kB / 1.06 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.3798, allocations: 205.2 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3798, allocations: 0 / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004145/0.3802, allocations: 269.2 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.3802, allocations: 8 kB / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3802, allocations: 4 kB / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3803, allocations: 0 / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.3805, allocations: 63.91 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3805, allocations: 3.938 kB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.3806, allocations: 27.77 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.3807, allocations: 8 kB / 1.061 GB, free: 15.41 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.0001709/0.3809, allocations: 165.7 kB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.3809, allocations: 27.62 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006868/0.3816, allocations: 388.9 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.3816, allocations: 4 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3816, allocations: 0 / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.3817, allocations: 7.922 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003491/0.382, allocations: 325.3 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.382, allocations: 0 / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.3822, allocations: 63.84 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3822, allocations: 4 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.3822, allocations: 15.98 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3822, allocations: 0 / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3822, allocations: 0 / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004665/0.3827, allocations: 309.8 kB / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.3828, allocations: 144.7 kB / 1.062 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.3829, allocations: 8 kB / 1.062 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.3831, allocations: 18.52 kB / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/0.3831, allocations: 31.91 kB / 1.062 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.3832, allocations: 11.98 kB / 1.062 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002035/0.3834, allocations: 232.5 kB / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3834, allocations: 0 / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002899/0.3837, allocations: 71.83 kB / 1.063 GB, free: 13.51 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.0009659/0.3847, allocations: 409.7 kB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003811/0.385, allocations: 220.3 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3851, allocations: 3.938 kB / 1.063 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.3853, allocations: 128.3 kB / 1.064 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.3855, allocations: 36.66 kB / 1.064 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008299/0.3864, allocations: 0.5718 MB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.3867, allocations: 0.7574 MB / 1.065 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002986/0.387, allocations: 146.9 kB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.865e-05/0.3871, allocations: 39.42 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.3871, allocations: 0 / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of Templates: time 0.006618/0.3937, allocations: 2.95 MB / 1.068 GB, free: 8.383 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