Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.005812/0.005812, allocations: 98.27 kB / 15.73 MB, free: 5.98 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.001135/0.001135, allocations: 193.6 kB / 16.67 MB, free: 5.91 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.129 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.659/2.659, allocations: 437 MB / 0.7105 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.91 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.363, allocations: 151.6 MB / 1.167 GB, free: 6.758 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.00342/0.3665, allocations: 1.657 MB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001809/0.3683, allocations: 1.175 MB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.3684, allocations: 0 / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.3687, allocations: 23.78 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.369, allocations: 79.25 kB / 1.169 GB, free: 3.801 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004158/0.3694, allocations: 139.7 kB / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003189/0.3697, allocations: 249.5 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.3699, allocations: 19.94 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.37, allocations: 87.75 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.3702, allocations: 101.3 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.926e-05/0.3703, allocations: 16 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.3704, allocations: 75.97 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.3705, allocations: 87.73 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.3707, allocations: 99.39 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00038/0.371, allocations: 294.7 kB / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3711, allocations: 0 / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3711, allocations: 0 / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.3711, allocations: 0 / 1.171 GB, free: 2.656 MB / 0.92 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.0008332/0.3719, allocations: 0.5496 MB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.372, allocations: 8.75 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.249e-05/0.3721, allocations: 28.75 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.3724, allocations: 276.7 kB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.3724, allocations: 8.375 kB / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.3724, allocations: 16.38 kB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003686/0.3728, allocations: 220.6 kB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3728, allocations: 4 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.3729, allocations: 8 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.3729, allocations: 4 kB / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009128/0.3738, allocations: 0.7411 MB / 1.172 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.3748, allocations: 0.5706 MB / 1.173 GB, free: 76 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004228/0.3753, allocations: 228.5 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.3755, allocations: 104.8 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.096e-05/0.3755, allocations: 19.89 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004108/0.3759, allocations: 165.5 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 3.316e-06/0.3759, allocations: 4 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.0008148/0.3768, allocations: 378.7 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.3769, allocations: 132.5 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.3773, allocations: 316.9 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.3773, allocations: 29.7 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.3774, allocations: 124.8 kB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.3776, allocations: 115 kB / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.3777, allocations: 65.67 kB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.3779, allocations: 334.8 kB / 1.175 GB, free: 14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.378, allocations: 75.95 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.3782, allocations: 128.5 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.3786, allocations: 209.2 kB / 1.175 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3786, allocations: 0 / 1.175 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004482/0.3791, allocations: 277.3 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.3791, allocations: 8 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3791, allocations: 0 / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.3791, allocations: 0 / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.3794, allocations: 59.91 kB / 1.176 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.3794, allocations: 0 / 1.176 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.3795, allocations: 35.7 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.3796, allocations: 16 kB / 1.176 GB, free: 13.19 MB / 0.9356 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.0001652/0.3797, allocations: 161.8 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.227e-05/0.3798, allocations: 27.84 kB / 1.176 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006957/0.3805, allocations: 385 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.3805, allocations: 4 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3805, allocations: 0 / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.3806, allocations: 7.922 kB / 1.176 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.3809, allocations: 325.4 kB / 1.177 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3809, allocations: 0 / 1.177 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.3811, allocations: 55.91 kB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3811, allocations: 0 / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.3811, allocations: 19.98 kB / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3811, allocations: 0 / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3812, allocations: 0 / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004923/0.3816, allocations: 317.8 kB / 1.177 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.3818, allocations: 144.8 kB / 1.177 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.548e-05/0.3819, allocations: 12 kB / 1.177 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.382, allocations: 22.03 kB / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.038e-05/0.3821, allocations: 27.91 kB / 1.177 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/0.3821, allocations: 15.98 kB / 1.177 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002269/0.3824, allocations: 232.5 kB / 1.177 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3824, allocations: 0 / 1.177 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000295/0.3827, allocations: 59.92 kB / 1.177 GB, free: 11.31 MB / 0.9356 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.001007/0.3837, allocations: 407.2 kB / 1.178 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004059/0.3841, allocations: 216.3 kB / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3841, allocations: 4 kB / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002055/0.3843, allocations: 128.4 kB / 1.178 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.3846, allocations: 49.09 kB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008405/0.3855, allocations: 0.5009 MB / 1.179 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.3859, allocations: 0.7618 MB / 1.179 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003313/0.3862, allocations: 146.8 kB / 1.18 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.748e-05/0.3863, allocations: 39.42 kB / 1.18 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of SimCode: time 1.954e-06/0.3863, allocations: 0 / 1.18 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of Templates: time 0.007035/0.3933, allocations: 3.084 MB / 1.183 GB, free: 6.105 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches