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.006815/0.006815, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001289/0.001289, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.513/1.513, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.922/2.922, allocations: 461.8 MB / 0.7347 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 63.89 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3751, allocations: 157.4 MB / 1.208 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003364/0.3785, allocations: 1.663 MB / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002085/0.3806, allocations: 1.172 MB / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.3807, allocations: 4 kB / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.381, allocations: 27.84 kB / 1.211 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003807/0.3814, allocations: 71.62 kB / 1.211 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000475/0.3819, allocations: 144 kB / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003444/0.3823, allocations: 249.5 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.3824, allocations: 27.97 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.3826, allocations: 83.8 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.3829, allocations: 95.72 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.664e-05/0.3829, allocations: 16 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.3831, allocations: 75.97 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.3832, allocations: 87.73 kB / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.3834, allocations: 107.3 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004443/0.3838, allocations: 299 kB / 1.212 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3839, allocations: 0 / 1.212 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3839, allocations: 4 kB / 1.212 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.3839, allocations: 0 / 1.212 GB, free: 5.539 MB / 0.9669 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.000913/0.3848, allocations: 0.5344 MB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3848, allocations: 8.625 kB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.052e-05/0.3849, allocations: 28.66 kB / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.3853, allocations: 272.8 kB / 1.213 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.3853, allocations: 8.375 kB / 1.213 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.3853, allocations: 16.38 kB / 1.213 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004148/0.3858, allocations: 226.4 kB / 1.213 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3858, allocations: 0 / 1.213 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.3858, allocations: 8 kB / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.3858, allocations: 4 kB / 1.213 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009229/0.3868, allocations: 0.7334 MB / 1.214 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009834/0.3878, allocations: 0.5744 MB / 1.214 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003984/0.3882, allocations: 220.7 kB / 1.214 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.3883, allocations: 100.8 kB / 1.214 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.041e-05/0.3884, allocations: 23.97 kB / 1.214 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003746/0.3888, allocations: 165.5 kB / 1.215 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 1.813e-06/0.3888, allocations: 0 / 1.215 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.0006748/0.3895, allocations: 374.7 kB / 1.215 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.3896, allocations: 132.5 kB / 1.215 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/0.3899, allocations: 312.9 kB / 1.215 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/0.39, allocations: 29.7 kB / 1.215 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.938e-05/0.3901, allocations: 124.7 kB / 1.215 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.3902, allocations: 110.4 kB / 1.216 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.3903, allocations: 65.69 kB / 1.216 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3904, allocations: 334.8 kB / 1.216 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.3906, allocations: 83.95 kB / 1.216 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.3908, allocations: 123.3 kB / 1.216 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/0.3912, allocations: 214.3 kB / 1.216 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3912, allocations: 4 kB / 1.216 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004276/0.3917, allocations: 265.2 kB / 1.217 GB, free: 240 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3917, allocations: 8 kB / 1.217 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3917, allocations: 0 / 1.217 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.3917, allocations: 3.984 kB / 1.217 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.392, allocations: 71.84 kB / 1.217 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.392, allocations: 0 / 1.217 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.3922, allocations: 23.78 kB / 1.217 GB, free: 132 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.3922, allocations: 11.98 kB / 1.217 GB, free: 120 kB / 0.9669 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.0001984/0.3924, allocations: 161.8 kB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/0.3925, allocations: 23.72 kB / 1.217 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006621/0.3931, allocations: 377 kB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.3932, allocations: 4 kB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.3932, allocations: 0 / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.3932, allocations: 7.922 kB / 1.217 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.3936, allocations: 333.2 kB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3936, allocations: 0 / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.3938, allocations: 59.91 kB / 1.218 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.3938, allocations: 4 kB / 1.218 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.3938, allocations: 11.98 kB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3938, allocations: 0 / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.3938, allocations: 0 / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005336/0.3943, allocations: 317.9 kB / 1.218 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.3945, allocations: 140.7 kB / 1.218 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.3946, allocations: 15.98 kB / 1.218 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.3948, allocations: 16.03 kB / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.609e-05/0.3949, allocations: 31.89 kB / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.3949, allocations: 8 kB / 1.218 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002327/0.3951, allocations: 236.4 kB / 1.218 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3951, allocations: 0 / 1.218 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003423/0.3955, allocations: 63.94 kB / 1.218 GB, free: 14.24 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.001174/0.3967, allocations: 413.2 kB / 1.219 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004977/0.3972, allocations: 227.8 kB / 1.219 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.3972, allocations: 0 / 1.219 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002241/0.3974, allocations: 128.7 kB / 1.219 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.3977, allocations: 34.38 kB / 1.219 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.3988, allocations: 0.5041 MB / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.3992, allocations: 0.7535 MB / 1.22 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003466/0.3996, allocations: 150.8 kB / 1.221 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.91e-05/0.3997, allocations: 39.42 kB / 1.221 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3997, allocations: 0 / 1.221 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of Templates: time 0.007694/0.4074, allocations: 3.081 MB / 1.224 GB, free: 9.039 MB / 0.9825 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