Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 80.3 kB / 21.47 MB, free: 3.035 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 170.3 kB / 24.86 MB, free: 9.277 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9383/0.9383, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.805/1.805, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.758e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002216/0.002234, allocations: 1.724 MB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.003507, allocations: 1.404 MB / 0.7914 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.426e-05/0.003571, allocations: 3.938 kB / 0.7914 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.003767, allocations: 28.73 kB / 0.7914 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.004064, allocations: 120.3 kB / 0.7915 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.004306, allocations: 149.1 kB / 0.7917 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.004529, allocations: 261.5 kB / 0.7919 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.64e-05/0.004605, allocations: 13.58 kB / 0.7919 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02644/0.03104, allocations: 10.45 MB / 0.8021 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.03115, allocations: 81.16 kB / 0.8022 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.03118, allocations: 23.94 kB / 0.8022 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.03128, allocations: 59.92 kB / 0.8023 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.22e-05/0.03136, allocations: 76.64 kB / 0.8024 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.242e-05/0.03142, allocations: 71.77 kB / 0.8024 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.03169, allocations: 247 kB / 0.8027 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.03169, allocations: 0 / 0.8027 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.363e-06/0.03169, allocations: 0 / 0.8027 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.0317, allocations: 7.938 kB / 0.8027 GB, free: 1.188 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005201/0.03222, allocations: 0.5823 MB / 0.8032 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.03225, allocations: 8.031 kB / 0.8033 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.011e-05/0.03231, allocations: 40.75 kB / 0.8033 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.03252, allocations: 254.2 kB / 0.8035 GB, free: 252 kB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.03253, allocations: 12.7 kB / 0.8036 GB, free: 240 kB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.03256, allocations: 16.38 kB / 0.8036 GB, free: 224 kB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.03276, allocations: 257.9 kB / 0.8038 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.03277, allocations: 4.188 kB / 0.8038 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.03279, allocations: 8.125 kB / 0.8038 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.03279, allocations: 4 kB / 0.8038 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004203/0.03321, allocations: 0.5695 MB / 0.8044 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005134/0.03372, allocations: 464.2 kB / 0.8048 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.03388, allocations: 137.1 kB / 0.805 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.344e-05/0.03394, allocations: 52.2 kB / 0.805 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.03397, allocations: 20.27 kB / 0.805 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.03412, allocations: 160.8 kB / 0.8052 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=34): time 1.303e-06/0.03412, allocations: 0 / 0.8052 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34): time 0.0002904/0.03441, allocations: 237.3 kB / 0.8054 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.03445, allocations: 114.7 kB / 0.8055 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.03458, allocations: 272.2 kB / 0.8058 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.0346, allocations: 37.7 kB / 0.8058 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.91e-05/0.03467, allocations: 175.4 kB / 0.806 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.035e-05/0.03474, allocations: 123 kB / 0.8061 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.394e-05/0.03481, allocations: 71.33 kB / 0.8062 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.03494, allocations: 0.5235 MB / 0.8067 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.396e-05/0.03498, allocations: 31.97 kB / 0.8067 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.609e-05/0.03507, allocations: 135.2 kB / 0.8068 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.03519, allocations: 113.9 kB / 0.8069 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.03519, allocations: 7.938 kB / 0.807 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001987/0.03539, allocations: 201.3 kB / 0.8071 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.0354, allocations: 4 kB / 0.8071 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.0354, allocations: 0 / 0.8071 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.785e-06/0.03541, allocations: 4 kB / 0.8071 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.03554, allocations: 59.91 kB / 0.8072 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.03554, allocations: 0 / 0.8072 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.488e-05/0.03561, allocations: 27.83 kB / 0.8072 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.03562, allocations: 16.03 kB / 0.8072 GB, free: 12.23 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (36): * Single equations (assignments): 36 * 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 8.267e-05/0.0357, allocations: 172.5 kB / 0.8074 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.03574, allocations: 39.81 kB / 0.8075 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/0.03603, allocations: 284.9 kB / 0.8077 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.03604, allocations: 4 kB / 0.8077 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.03604, allocations: 0 / 0.8077 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.03604, allocations: 7.969 kB / 0.8077 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.03619, allocations: 197 kB / 0.8079 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.03619, allocations: 0 / 0.8079 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.058e-05/0.03628, allocations: 55.91 kB / 0.808 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.03629, allocations: 3.938 kB / 0.808 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.0363, allocations: 11.98 kB / 0.808 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.0363, allocations: 11.94 kB / 0.808 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.0363, allocations: 0 / 0.808 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.03651, allocations: 250.8 kB / 0.8082 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.909e-05/0.03657, allocations: 75.61 kB / 0.8083 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.0366, allocations: 7.984 kB / 0.8083 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.384e-05/0.03665, allocations: 12 kB / 0.8083 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.03669, allocations: 23.95 kB / 0.8084 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.0367, allocations: 15.98 kB / 0.8084 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 7.78e-05/0.03678, allocations: 181.1 kB / 0.8085 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.03678, allocations: 0 / 0.8085 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0001739/0.03695, allocations: 51.98 kB / 0.8086 GB, free: 10.79 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007106/0.03766, allocations: 355 kB / 0.8089 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000179/0.03784, allocations: 143.5 kB / 0.8091 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.03785, allocations: 0 / 0.8091 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.358e-05/0.03793, allocations: 91.5 kB / 0.8092 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.0381, allocations: 55.72 kB / 0.8092 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006267/0.03873, allocations: 435.3 kB / 0.8096 GB, free: 9.812 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.855e-05/0.03878, allocations: 90.05 kB / 0.8097 GB, free: 9.699 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001179/0.03889, allocations: 74.97 kB / 0.8098 GB, free: 9.625 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.03905, allocations: 154.1 kB / 0.8099 GB, free: 9.473 MB / 0.7605 GB Notification: Performance of SimCode: time 4.91e-07/0.03905, allocations: 0 / 0.8099 GB, free: 9.473 MB / 0.7605 GB Notification: Performance of Templates: time 0.004685/0.04373, allocations: 3.209 MB / 0.8131 GB, free: 6.293 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9865878922864795]