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.001562/0.001562, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 191.4 kB / 16.53 MB, free: 6.391 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.541/1.541, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.852/2.852, allocations: 437 MB / 0.7104 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 67.89 kB / 0.8692 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7325/0.7346, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.004031/0.7387, allocations: 1.649 MB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00211/0.7408, allocations: 1.175 MB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.7409, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.7413, allocations: 27.84 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004532/0.7418, allocations: 75.38 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005368/0.7423, allocations: 143.5 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004148/0.7427, allocations: 245.5 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.7429, allocations: 23.98 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.743, allocations: 83.81 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.7433, allocations: 95.7 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.392e-05/0.7434, allocations: 20 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.7436, allocations: 71.97 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.7438, allocations: 87.73 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.7439, allocations: 111.3 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004271/0.7444, allocations: 273.2 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.7444, allocations: 8 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7444, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.7444, allocations: 0 / 1.021 GB, free: 14.4 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.0009285/0.7453, allocations: 0.5345 MB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.7454, allocations: 8.031 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.942e-05/0.7455, allocations: 32.5 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.7458, allocations: 264.6 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.7459, allocations: 16.38 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.7459, allocations: 20.38 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.7463, allocations: 220.8 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.7463, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.7463, allocations: 8 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.7464, allocations: 4 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009763/0.7473, allocations: 0.7334 MB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.7484, allocations: 0.5858 MB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004023/0.7488, allocations: 223.5 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.749, allocations: 100.8 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.623e-05/0.749, allocations: 19.97 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004278/0.7495, allocations: 173.5 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.7495, allocations: 3.938 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.0007545/0.7502, allocations: 370.8 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.7504, allocations: 132.5 kB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/0.7507, allocations: 316.9 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.501e-05/0.7508, allocations: 29.7 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.7509, allocations: 120.7 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.751, allocations: 114.5 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.7511, allocations: 61.69 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.7513, allocations: 338.8 kB / 1.026 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.7515, allocations: 75.95 kB / 1.026 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.7517, allocations: 124.5 kB / 1.026 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003639/0.7521, allocations: 213.2 kB / 1.026 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7521, allocations: 0 / 1.026 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005011/0.7526, allocations: 273.3 kB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.7526, allocations: 7.984 kB / 1.026 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.7526, allocations: 4 kB / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.7527, allocations: 0 / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.7529, allocations: 59.91 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.7529, allocations: 4 kB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.7531, allocations: 33.81 kB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.7532, allocations: 8 kB / 1.026 GB, free: 8.953 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.0002061/0.7534, allocations: 169.7 kB / 1.026 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/0.7534, allocations: 23.72 kB / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007588/0.7542, allocations: 380.9 kB / 1.027 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.7542, allocations: 7.938 kB / 1.027 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.7542, allocations: 0 / 1.027 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.7542, allocations: 7.922 kB / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003959/0.7546, allocations: 325.3 kB / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.7547, allocations: 0 / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.7548, allocations: 59.97 kB / 1.027 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.7548, allocations: 0 / 1.027 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.7549, allocations: 11.98 kB / 1.027 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/0.7549, allocations: 7.938 kB / 1.027 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.7549, allocations: 0 / 1.027 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005253/0.7554, allocations: 309.8 kB / 1.028 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.7556, allocations: 148.6 kB / 1.028 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.7557, allocations: 12 kB / 1.028 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.7558, allocations: 19.98 kB / 1.028 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.7559, allocations: 27.91 kB / 1.028 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.7559, allocations: 8 kB / 1.028 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002452/0.7562, allocations: 236.4 kB / 1.028 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7562, allocations: 0 / 1.028 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003187/0.7565, allocations: 63.89 kB / 1.028 GB, free: 7.074 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.001511/0.758, allocations: 406 kB / 1.028 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006183/0.7587, allocations: 296.3 kB / 1.029 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.7587, allocations: 0 / 1.029 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002765/0.759, allocations: 132.3 kB / 1.029 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.7593, allocations: 30.5 kB / 1.029 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009497/0.7602, allocations: 0.5053 MB / 1.029 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.7607, allocations: 0.7535 MB / 1.03 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003397/0.761, allocations: 150.8 kB / 1.03 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.7611, allocations: 43.41 kB / 1.03 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.7611, allocations: 0 / 1.03 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of Templates: time 0.008476/0.7696, allocations: 3.032 MB / 1.033 GB, free: 1.863 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=400 -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