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.001148/0.001152, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001309/0.001309, allocations: 193.1 kB / 16.25 MB, free: 6.641 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.436/1.436, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.625/2.625, allocations: 437 MB / 0.71 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002247, allocations: 63.91 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.782/0.7842, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003558/0.7879, allocations: 1.717 MB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.7896, allocations: 1.154 MB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.091e-05/0.7897, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.79, allocations: 15.92 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.7904, allocations: 67.75 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.7908, allocations: 131.3 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002918/0.7911, allocations: 241.5 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.7912, allocations: 23.97 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.7914, allocations: 91.75 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.7916, allocations: 95.72 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.78e-05/0.7916, allocations: 16 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.7918, allocations: 75.95 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.394e-05/0.7919, allocations: 83.8 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.792, allocations: 111.3 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003479/0.7924, allocations: 282.9 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.7924, allocations: 4 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7924, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.7924, allocations: 0 / 1.021 GB, free: 14.62 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.0007819/0.7932, allocations: 0.5384 MB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.7933, allocations: 11.97 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.251e-05/0.7933, allocations: 28.56 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.7936, allocations: 260.9 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.7937, allocations: 20.3 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.7937, allocations: 16.38 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.7941, allocations: 220.8 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.7941, allocations: 4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.7941, allocations: 8 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.7941, allocations: 4 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008671/0.795, allocations: 0.7334 MB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008995/0.7959, allocations: 0.5703 MB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.7963, allocations: 239.9 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.7965, allocations: 96.81 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.972e-05/0.7965, allocations: 19.97 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003793/0.7969, allocations: 173.5 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 2.294e-06/0.7969, allocations: 0 / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.0006803/0.7976, allocations: 370.7 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.05e-05/0.7977, allocations: 140.5 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.798, allocations: 304.9 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.798, allocations: 29.7 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.8e-05/0.7981, allocations: 128.7 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.532e-05/0.7982, allocations: 110.4 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.484e-05/0.7983, allocations: 65.69 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.7985, allocations: 338.8 kB / 1.025 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.7986, allocations: 71.95 kB / 1.025 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.7988, allocations: 128.5 kB / 1.025 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.7991, allocations: 209.2 kB / 1.025 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.7991, allocations: 0 / 1.025 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004343/0.7996, allocations: 273.2 kB / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.7996, allocations: 4 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.7996, allocations: 0 / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.7996, allocations: 4 kB / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.7999, allocations: 59.91 kB / 1.026 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.7999, allocations: 8 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.8, allocations: 27.77 kB / 1.026 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.8001, allocations: 19.92 kB / 1.026 GB, free: 9.176 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 (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.0001744/0.8003, allocations: 161.8 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.248e-05/0.8003, allocations: 23.72 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007403/0.8011, allocations: 384.9 kB / 1.026 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.8011, allocations: 4 kB / 1.026 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.8011, allocations: 0 / 1.026 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.8011, allocations: 3.938 kB / 1.026 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003563/0.8015, allocations: 329.3 kB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.8015, allocations: 3.938 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.8016, allocations: 55.91 kB / 1.027 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.8017, allocations: 0 / 1.027 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.8017, allocations: 11.98 kB / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.8017, allocations: 4 kB / 1.027 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8017, allocations: 0 / 1.027 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000467/0.8022, allocations: 321.7 kB / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.8023, allocations: 136.7 kB / 1.027 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.8024, allocations: 8 kB / 1.027 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.8025, allocations: 19.98 kB / 1.027 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/0.8026, allocations: 27.89 kB / 1.027 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.8026, allocations: 12 kB / 1.027 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002054/0.8028, allocations: 236.4 kB / 1.027 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8028, allocations: 4 kB / 1.027 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003019/0.8031, allocations: 59.84 kB / 1.028 GB, free: 7.309 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 (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.0009415/0.8041, allocations: 407 kB / 1.028 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005116/0.8046, allocations: 296.2 kB / 1.028 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.8046, allocations: 3.984 kB / 1.028 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.8048, allocations: 124.4 kB / 1.028 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.8051, allocations: 36.59 kB / 1.028 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008618/0.806, allocations: 0.5834 MB / 1.029 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.8064, allocations: 0.7613 MB / 1.03 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003295/0.8067, allocations: 146.8 kB / 1.03 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.771e-05/0.8068, allocations: 43.42 kB / 1.03 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of SimCode: time 3.7e-07/0.8068, allocations: 0 / 1.03 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of Templates: time 0.007179/0.814, allocations: 3.015 MB / 1.033 GB, free: 2.031 MB / 0.7794 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