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.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.001043/0.001043, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001118/0.001118, allocations: 165.3 kB / 23.01 MB, free: 1.555 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.9598/0.9598, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.093/2.093, allocations: 429.5 MB / 0.6733 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.693e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002428/0.002455, allocations: 1.74 MB / 0.8799 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.004136, allocations: 1.412 MB / 0.8813 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.703e-05/0.004203, allocations: 1.594 kB / 0.8813 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.004423, allocations: 35.72 kB / 0.8813 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.004772, allocations: 109.3 kB / 0.8814 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.00505, allocations: 151.5 kB / 0.8815 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.005325, allocations: 269.4 kB / 0.8818 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.43e-05/0.00542, allocations: 21.5 kB / 0.8818 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.005539, allocations: 122.4 kB / 0.8819 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.005683, allocations: 87.75 kB / 0.882 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.005711, allocations: 20 kB / 0.882 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.005882, allocations: 123.8 kB / 0.8822 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.069e-05/0.005963, allocations: 87.73 kB / 0.8822 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.902e-05/0.006032, allocations: 67.81 kB / 0.8823 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.006422, allocations: 298.9 kB / 0.8826 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.006425, allocations: 4.719 kB / 0.8826 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.042e-06/0.006426, allocations: 3.938 kB / 0.8826 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.006431, allocations: 1.656 kB / 0.8826 GB, free: 1.793 MB / 0.8386 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.0006137/0.007045, allocations: 0.5978 MB / 0.8832 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.007082, allocations: 8.031 kB / 0.8832 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.555e-05/0.007158, allocations: 40.75 kB / 0.8832 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.007384, allocations: 224.9 kB / 0.8834 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.007408, allocations: 12.7 kB / 0.8835 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.007435, allocations: 16.38 kB / 0.8835 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.007708, allocations: 311.2 kB / 0.8838 GB, free: 496 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.00772, allocations: 192 / 0.8838 GB, free: 496 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.007739, allocations: 16.12 kB / 0.8838 GB, free: 480 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.00775, allocations: 4 kB / 0.8838 GB, free: 476 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000617/0.008367, allocations: 0.6282 MB / 0.8844 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006134/0.00898, allocations: 0.4918 MB / 0.8849 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.009193, allocations: 157.8 kB / 0.885 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.813e-05/0.009271, allocations: 56.22 kB / 0.8851 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.496e-05/0.009306, allocations: 20.27 kB / 0.8851 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.009497, allocations: 168.8 kB / 0.8853 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=34): time 1.363e-06/0.009498, allocations: 3.938 kB / 0.8853 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34): time 0.0003886/0.009887, allocations: 266.7 kB / 0.8855 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.009948, allocations: 140.5 kB / 0.8857 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.01014, allocations: 308.3 kB / 0.886 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.01016, allocations: 29.7 kB / 0.886 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.825e-05/0.01024, allocations: 187.4 kB / 0.8862 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.435e-05/0.0103, allocations: 111.1 kB / 0.8863 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-05/0.01037, allocations: 71.34 kB / 0.8863 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.0105, allocations: 0.5157 MB / 0.8868 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.037e-05/0.01057, allocations: 43.97 kB / 0.8869 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.01069, allocations: 181.3 kB / 0.8871 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.01086, allocations: 133.1 kB / 0.8872 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01087, allocations: 0 / 0.8872 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002502/0.01112, allocations: 217.3 kB / 0.8874 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.01113, allocations: 4 kB / 0.8874 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.01113, allocations: 0 / 0.8874 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.01115, allocations: 7.984 kB / 0.8874 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.01131, allocations: 63.91 kB / 0.8875 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.01131, allocations: 0 / 0.8875 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.132e-05/0.01139, allocations: 23.83 kB / 0.8875 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.0114, allocations: 19.98 kB / 0.8875 GB, free: 12.46 MB / 0.8542 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 0.0003469/0.01175, allocations: 176.5 kB / 0.8877 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.01179, allocations: 39.81 kB / 0.8877 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003638/0.01215, allocations: 301.1 kB / 0.888 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.01216, allocations: 4 kB / 0.888 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.01216, allocations: 0 / 0.888 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.01216, allocations: 3.984 kB / 0.888 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.01235, allocations: 232.3 kB / 0.8882 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01235, allocations: 0 / 0.8882 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.97e-05/0.01245, allocations: 59.91 kB / 0.8883 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.01245, allocations: 0 / 0.8883 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.01246, allocations: 11.98 kB / 0.8883 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.01246, allocations: 8 kB / 0.8883 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.01247, allocations: 4 kB / 0.8883 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.01273, allocations: 277.3 kB / 0.8886 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.978e-05/0.01281, allocations: 71.77 kB / 0.8886 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.01284, allocations: 11.94 kB / 0.8886 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.214e-05/0.0129, allocations: 11.98 kB / 0.8887 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.01295, allocations: 23.95 kB / 0.8887 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.01296, allocations: 12 kB / 0.8887 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001107/0.01307, allocations: 221.1 kB / 0.8889 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01307, allocations: 0 / 0.8889 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002248/0.01329, allocations: 83.86 kB / 0.889 GB, free: 10.88 MB / 0.8542 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.000953/0.01425, allocations: 450.4 kB / 0.8894 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.01449, allocations: 160.3 kB / 0.8896 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.01449, allocations: 0 / 0.8896 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.0146, allocations: 107.4 kB / 0.8897 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.01479, allocations: 50.42 kB / 0.8897 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007707/0.01556, allocations: 439.3 kB / 0.8901 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.08e-05/0.01561, allocations: 98.05 kB / 0.8902 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001789/0.01579, allocations: 134.9 kB / 0.8904 GB, free: 9.555 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.574e-05/0.01586, allocations: 44.48 kB / 0.8904 GB, free: 9.512 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/0.01586, allocations: 3.938 kB / 0.8904 GB, free: 9.508 MB / 0.8542 GB Notification: Performance of Templates: time 0.00565/0.02151, allocations: 3.518 MB / 0.8938 GB, free: 6.035 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.637748897075653]