Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007264/0.007264, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001294/0.001294, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.176/2.176, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 71.88 kB / 0.9509 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9478/0.9491, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002817/0.9519, allocations: 1.663 MB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.9535, allocations: 1.172 MB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.956e-05/0.9536, allocations: 5 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.9539, allocations: 20.81 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.9542, allocations: 66.8 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.9547, allocations: 152.2 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003752/0.9551, allocations: 245.5 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.9552, allocations: 24.08 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.9553, allocations: 85.14 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.9556, allocations: 98.83 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.085e-05/0.9556, allocations: 17.88 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.9558, allocations: 70.11 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.9559, allocations: 79.84 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.9561, allocations: 113.5 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004131/0.9565, allocations: 294.3 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.9565, allocations: 4.562 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.555e-06/0.9565, allocations: 0.75 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.9565, allocations: 0 / 1.092 GB, free: 2.957 MB / 0.8575 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.000768/0.9573, allocations: 0.5488 MB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.9573, allocations: 9 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.131e-05/0.9574, allocations: 25.73 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.9577, allocations: 273.8 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.9577, allocations: 10.66 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.9578, allocations: 14.44 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003891/0.9582, allocations: 227.3 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.9582, allocations: 0 / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.9582, allocations: 6.438 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.9582, allocations: 3.688 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.9593, allocations: 0.7403 MB / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00091/0.9603, allocations: 0.5744 MB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.9607, allocations: 231.3 kB / 1.095 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.9609, allocations: 97.11 kB / 1.095 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.953e-05/0.9609, allocations: 25.14 kB / 1.095 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003791/0.9613, allocations: 181.7 kB / 1.095 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=33): time 1.853e-06/0.9613, allocations: 0.5312 kB / 1.095 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33): time 0.0007495/0.9621, allocations: 368.5 kB / 1.095 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.9621, allocations: 132.6 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.9624, allocations: 307 kB / 1.096 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.9625, allocations: 31.61 kB / 1.096 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.9626, allocations: 127.9 kB / 1.096 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.15e-05/0.9626, allocations: 113.7 kB / 1.096 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.9628, allocations: 65.48 kB / 1.096 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.9628, allocations: 337.8 kB / 1.096 GB, free: 280 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.963, allocations: 78.52 kB / 1.096 GB, free: 256 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.9632, allocations: 132.8 kB / 1.096 GB, free: 184 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/0.9635, allocations: 203.1 kB / 1.097 GB, free: 104 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.9636, allocations: 0 / 1.097 GB, free: 104 kB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005053/0.9641, allocations: 277.3 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.9641, allocations: 6.609 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.9641, allocations: 0 / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.9641, allocations: 2.219 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.9644, allocations: 61.56 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.9644, allocations: 5.844 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.9646, allocations: 27.75 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.9646, allocations: 13.89 kB / 1.097 GB, free: 15.95 MB / 0.8731 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.000168/0.9648, allocations: 166.7 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.83e-05/0.9648, allocations: 28.34 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007309/0.9656, allocations: 377 kB / 1.098 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.9656, allocations: 3.469 kB / 1.098 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.9656, allocations: 0 / 1.098 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.9656, allocations: 7.219 kB / 1.098 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/0.966, allocations: 329.5 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.966, allocations: 1.188 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.9662, allocations: 54.19 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.9662, allocations: 2.891 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.9662, allocations: 9.5 kB / 1.098 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.9662, allocations: 2.125 kB / 1.098 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.9662, allocations: 4.609 kB / 1.098 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005148/0.9668, allocations: 324 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001718/0.967, allocations: 143.3 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.967, allocations: 6.906 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.9672, allocations: 19.09 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/0.9673, allocations: 28.66 kB / 1.098 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/0.9673, allocations: 15.64 kB / 1.098 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002604/0.9676, allocations: 235.7 kB / 1.099 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.645e-06/0.9676, allocations: 0 / 1.099 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003296/0.9679, allocations: 65 kB / 1.099 GB, free: 14.91 MB / 0.8731 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.0009904/0.9689, allocations: 411 kB / 1.099 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000455/0.9694, allocations: 221.6 kB / 1.099 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.9694, allocations: 1.094 kB / 1.099 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.9696, allocations: 126.4 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.9699, allocations: 34.41 kB / 1.099 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008748/0.9708, allocations: 0.4982 MB / 1.1 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.9712, allocations: 0.7581 MB / 1.101 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003685/0.9716, allocations: 151 kB / 1.101 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.28e-05/0.9717, allocations: 45.36 kB / 1.101 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of SimCode: time 3.6e-07/0.9717, allocations: 0.7812 kB / 1.101 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of Templates: time 0.007732/0.9794, allocations: 3.071 MB / 1.104 GB, free: 13.25 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches