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.007367/0.007366, allocations: 103.9 kB / 15.73 MB, free: 6.445 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.001907/0.001907, allocations: 191.2 kB / 16.67 MB, free: 6.355 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.596/1.596, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.982/2.982, allocations: 461.9 MB / 0.7348 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.91 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3807, allocations: 157.4 MB / 1.208 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003608/0.3844, allocations: 1.654 MB / 1.209 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002015/0.3864, allocations: 1.182 MB / 1.21 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.3865, allocations: 0 / 1.21 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.3868, allocations: 23.86 kB / 1.211 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003913/0.3873, allocations: 75.59 kB / 1.211 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005347/0.3878, allocations: 145.8 kB / 1.211 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005177/0.3883, allocations: 249.5 kB / 1.211 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.3885, allocations: 19.97 kB / 1.211 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.3888, allocations: 83.83 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004496/0.3892, allocations: 103.7 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.024e-05/0.3893, allocations: 16 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003113/0.3896, allocations: 83.89 kB / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.3898, allocations: 75.81 kB / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.39, allocations: 107.3 kB / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006816/0.3907, allocations: 303 kB / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.3907, allocations: 0 / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.166e-06/0.3907, allocations: 0 / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.9e-05/0.3907, allocations: 0 / 1.212 GB, free: 5.469 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.001346/0.3921, allocations: 0.5344 MB / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.851e-05/0.3922, allocations: 12.61 kB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.3923, allocations: 24.66 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004462/0.3928, allocations: 268.8 kB / 1.213 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.3928, allocations: 8.375 kB / 1.213 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/0.3928, allocations: 16.38 kB / 1.213 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004393/0.3933, allocations: 222.4 kB / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3933, allocations: 4 kB / 1.213 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.3933, allocations: 8 kB / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.3934, allocations: 7.984 kB / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009792/0.3943, allocations: 0.7334 MB / 1.214 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.3954, allocations: 0.5705 MB / 1.214 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/0.3958, allocations: 224.7 kB / 1.214 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.396, allocations: 104.8 kB / 1.214 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.851e-05/0.396, allocations: 15.97 kB / 1.214 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003686/0.3964, allocations: 173.5 kB / 1.215 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 3.907e-06/0.3964, allocations: 0 / 1.215 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.0007046/0.3971, allocations: 370.7 kB / 1.215 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.618e-05/0.3972, allocations: 132.5 kB / 1.215 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.3976, allocations: 312.9 kB / 1.215 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.3976, allocations: 29.7 kB / 1.215 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.3977, allocations: 128.7 kB / 1.215 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.9e-05/0.3978, allocations: 114.4 kB / 1.216 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.3979, allocations: 61.69 kB / 1.216 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3981, allocations: 338.8 kB / 1.216 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.3982, allocations: 75.95 kB / 1.216 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.3984, allocations: 123.4 kB / 1.216 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.3988, allocations: 214.3 kB / 1.216 GB, free: 444 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3988, allocations: 4 kB / 1.216 GB, free: 440 kB / 0.9669 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004471/0.3992, allocations: 273.2 kB / 1.217 GB, free: 160 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3993, allocations: 4 kB / 1.217 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3993, allocations: 4 kB / 1.217 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3993, allocations: 0 / 1.217 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.3995, allocations: 55.91 kB / 1.217 GB, free: 96 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.3996, allocations: 4 kB / 1.217 GB, free: 92 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.3997, allocations: 35.7 kB / 1.217 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.3998, allocations: 15.98 kB / 1.217 GB, free: 40 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.0001756/0.3999, allocations: 161.8 kB / 1.217 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.381e-05/0.4, allocations: 23.72 kB / 1.217 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006699/0.4007, allocations: 377.1 kB / 1.217 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.4007, allocations: 4 kB / 1.217 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.4007, allocations: 3.938 kB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.4007, allocations: 3.938 kB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003436/0.4011, allocations: 333.2 kB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4011, allocations: 0 / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.4013, allocations: 51.97 kB / 1.218 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4013, allocations: 4 kB / 1.218 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.4013, allocations: 8 kB / 1.218 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.4013, allocations: 4 kB / 1.218 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4013, allocations: 3.938 kB / 1.218 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005003/0.4018, allocations: 322 kB / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.402, allocations: 140.7 kB / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.402, allocations: 8 kB / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.4022, allocations: 27.92 kB / 1.218 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.605e-05/0.4023, allocations: 23.91 kB / 1.218 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.4023, allocations: 15.98 kB / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002227/0.4026, allocations: 236.4 kB / 1.218 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4026, allocations: 0 / 1.218 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003148/0.4029, allocations: 59.94 kB / 1.218 GB, free: 14.16 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.0009986/0.4039, allocations: 400.6 kB / 1.219 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004315/0.4044, allocations: 223.8 kB / 1.219 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4044, allocations: 4 kB / 1.219 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.4046, allocations: 128.7 kB / 1.219 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.4049, allocations: 34.53 kB / 1.219 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.4061, allocations: 0.4984 MB / 1.22 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/0.4066, allocations: 0.7574 MB / 1.22 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003571/0.407, allocations: 142.9 kB / 1.221 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.39e-05/0.4071, allocations: 43.42 kB / 1.221 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.4071, allocations: 3.938 kB / 1.221 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of Templates: time 0.008055/0.4151, allocations: 3.112 MB / 1.224 GB, free: 8.949 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