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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001043/0.001043, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009786/0.0009787, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.725/2.725, allocations: 436.5 MB / 0.7104 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.0003691, allocations: 8 kB / 0.8708 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7966/0.797, allocations: 153.7 MB / 1.021 GB, free: 1.164 MB / 0.7638 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.001971/0.799, allocations: 1.332 MB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00177/0.8008, allocations: 1.085 MB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.294e-05/0.8009, allocations: 0 / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.8011, allocations: 19.92 kB / 1.023 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002841/0.8014, allocations: 59.8 kB / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003819/0.8018, allocations: 130.9 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002699/0.8021, allocations: 153.8 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.8022, allocations: 19.95 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.8024, allocations: 75.81 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.8026, allocations: 63.81 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.8026, allocations: 8 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.8028, allocations: 51.92 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.528e-05/0.8029, allocations: 75.73 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.533e-05/0.8029, allocations: 57.58 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.8032, allocations: 205.5 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.8032, allocations: 0 / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.965e-06/0.8033, allocations: 0 / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.8033, allocations: 0 / 1.024 GB, free: 13.82 MB / 0.7794 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.0007413/0.804, allocations: 493.3 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.8041, allocations: 15.98 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.81e-05/0.8041, allocations: 31.62 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.8044, allocations: 263.4 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.8045, allocations: 12 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.8045, allocations: 12 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.8048, allocations: 220.6 kB / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.8048, allocations: 0 / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/0.8049, allocations: 12 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.8049, allocations: 4 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007824/0.8057, allocations: 0.7334 MB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009668/0.8066, allocations: 0.5781 MB / 1.026 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/0.807, allocations: 223.5 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.349e-05/0.8071, allocations: 19.97 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003534/0.8074, allocations: 173.5 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 3.397e-06/0.8075, allocations: 3.938 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.0006245/0.8081, allocations: 366.7 kB / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.8082, allocations: 132.5 kB / 1.027 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.8084, allocations: 301 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.8085, allocations: 33.7 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.752e-05/0.8086, allocations: 132.6 kB / 1.028 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.315e-05/0.8087, allocations: 106.5 kB / 1.028 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.8087, allocations: 8 kB / 1.028 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.8088, allocations: 334.8 kB / 1.028 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.8089, allocations: 79.95 kB / 1.028 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.8091, allocations: 120.5 kB / 1.028 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.8093, allocations: 108.4 kB / 1.028 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8093, allocations: 3.938 kB / 1.028 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003772/0.8096, allocations: 269.2 kB / 1.029 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.8097, allocations: 6.344 kB / 1.029 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.8097, allocations: 3.984 kB / 1.029 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.8097, allocations: 4 kB / 1.029 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.8099, allocations: 55.91 kB / 1.029 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.8099, allocations: 4 kB / 1.029 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.8101, allocations: 31.77 kB / 1.029 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.8101, allocations: 12 kB / 1.029 GB, free: 8.727 MB / 0.7794 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001524/0.8103, allocations: 165.7 kB / 1.029 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.8103, allocations: 31.61 kB / 1.029 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006282/0.811, allocations: 377 kB / 1.029 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.811, allocations: 4 kB / 1.029 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.811, allocations: 0 / 1.029 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.811, allocations: 7.984 kB / 1.029 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.8113, allocations: 329.3 kB / 1.03 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.8113, allocations: 3.984 kB / 1.03 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.8115, allocations: 55.92 kB / 1.03 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.8115, allocations: 0 / 1.03 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.8115, allocations: 11.98 kB / 1.03 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.8115, allocations: 4 kB / 1.03 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8115, allocations: 0 / 1.03 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000404/0.8119, allocations: 321.6 kB / 1.03 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.8121, allocations: 148.6 kB / 1.03 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.8121, allocations: 4 kB / 1.03 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.8123, allocations: 25.55 kB / 1.03 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.8124, allocations: 23.97 kB / 1.03 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.8124, allocations: 12.03 kB / 1.03 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001988/0.8126, allocations: 236.4 kB / 1.03 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8126, allocations: 0 / 1.03 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002863/0.8129, allocations: 67.94 kB / 1.031 GB, free: 6.84 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009229/0.8138, allocations: 401.4 kB / 1.031 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003699/0.8142, allocations: 220.3 kB / 1.031 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8142, allocations: 0 / 1.031 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.8144, allocations: 128.4 kB / 1.031 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.8146, allocations: 21.42 kB / 1.031 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007814/0.8154, allocations: 0.5704 MB / 1.032 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.8158, allocations: 0.7613 MB / 1.033 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002926/0.8161, allocations: 146.8 kB / 1.033 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.587e-05/0.8162, allocations: 47.41 kB / 1.033 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8162, allocations: 0 / 1.033 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of Templates: time 0.006008/0.8222, allocations: 2.829 MB / 1.035 GB, free: 1.848 MB / 0.7794 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","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches