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.001003/0.001003, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.0009649/0.0009649, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 1.029/1.029, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.095/2.095, allocations: 429.5 MB / 0.6743 GB, free: 3.91 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 2.474e-06/2.474e-06, allocations: 4 kB / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.59e-05/1.837e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002085/0.002104, allocations: 1.734 MB / 0.8811 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.003365, allocations: 1.413 MB / 0.8825 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.785e-05/0.003423, allocations: 0 / 0.8825 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.003621, allocations: 31.7 kB / 0.8825 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.003902, allocations: 116.4 kB / 0.8826 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.004125, allocations: 148.7 kB / 0.8828 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.004353, allocations: 263 kB / 0.883 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.084e-05/0.004433, allocations: 9.594 kB / 0.883 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02476/0.02919, allocations: 9.699 MB / 0.8925 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.02931, allocations: 75.77 kB / 0.8926 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.02934, allocations: 16 kB / 0.8926 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.02947, allocations: 63.91 kB / 0.8926 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.468e-05/0.02956, allocations: 95.73 kB / 0.8927 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.604e-05/0.02962, allocations: 67.77 kB / 0.8928 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.02992, allocations: 243 kB / 0.893 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.02992, allocations: 0 / 0.893 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.233e-06/0.02992, allocations: 0 / 0.893 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.02993, allocations: 0 / 0.893 GB, free: 11.4 MB / 0.8542 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.0005675/0.0305, allocations: 0.5861 MB / 0.8936 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.03053, allocations: 12.03 kB / 0.8936 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.404e-05/0.0306, allocations: 40.8 kB / 0.8936 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.03083, allocations: 254.1 kB / 0.8939 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.03085, allocations: 12.7 kB / 0.8939 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.03087, allocations: 24.38 kB / 0.8939 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.03108, allocations: 261.8 kB / 0.8942 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.03109, allocations: 192 / 0.8942 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.03111, allocations: 12.12 kB / 0.8942 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.03112, allocations: 4 kB / 0.8942 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004209/0.03154, allocations: 0.5618 MB / 0.8947 GB, free: 9.539 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.03208, allocations: 468.2 kB / 0.8952 GB, free: 9.055 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.03225, allocations: 138.3 kB / 0.8953 GB, free: 8.91 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.397e-05/0.0323, allocations: 52.22 kB / 0.8954 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.03233, allocations: 16.27 kB / 0.8954 GB, free: 8.84 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.0325, allocations: 169.3 kB / 0.8955 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=34): time 1.062e-06/0.0325, allocations: 0 / 0.8955 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34): time 0.0003001/0.0328, allocations: 241.3 kB / 0.8958 GB, free: 8.414 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.03285, allocations: 106.8 kB / 0.8959 GB, free: 8.285 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.03299, allocations: 272.2 kB / 0.8961 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.03301, allocations: 29.7 kB / 0.8962 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.48e-05/0.03309, allocations: 179.4 kB / 0.8963 GB, free: 7.789 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.719e-05/0.03315, allocations: 115 kB / 0.8964 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.731e-05/0.03322, allocations: 79.31 kB / 0.8965 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.03335, allocations: 0.5196 MB / 0.897 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.631e-05/0.0334, allocations: 31.97 kB / 0.8971 GB, free: 7.027 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.495e-05/0.03349, allocations: 131.9 kB / 0.8972 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.03362, allocations: 121.1 kB / 0.8973 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.03362, allocations: 3.938 kB / 0.8973 GB, free: 6.75 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002039/0.03382, allocations: 193.3 kB / 0.8975 GB, free: 6.555 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.03384, allocations: 8 kB / 0.8975 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.03385, allocations: 0 / 0.8975 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.158e-06/0.03385, allocations: 0 / 0.8975 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.03399, allocations: 63.91 kB / 0.8976 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.03399, allocations: 8.031 kB / 0.8976 GB, free: 6.477 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.672e-05/0.03406, allocations: 31.2 kB / 0.8976 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.03407, allocations: 8 kB / 0.8976 GB, free: 6.441 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 8.801e-05/0.03416, allocations: 184.4 kB / 0.8978 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.0342, allocations: 31.86 kB / 0.8978 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/0.0345, allocations: 294 kB / 0.8981 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.03451, allocations: 4 kB / 0.8981 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.03451, allocations: 0 / 0.8981 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.03451, allocations: 0 / 0.8981 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.03466, allocations: 196.9 kB / 0.8983 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.03467, allocations: 0 / 0.8983 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.281e-05/0.03476, allocations: 55.97 kB / 0.8983 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.03476, allocations: 7.938 kB / 0.8983 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.03477, allocations: 15.92 kB / 0.8984 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.03477, allocations: 0 / 0.8984 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.03478, allocations: 4 kB / 0.8984 GB, free: 5.621 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.03499, allocations: 249.6 kB / 0.8986 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-05/0.03506, allocations: 71.61 kB / 0.8987 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.03508, allocations: 8 kB / 0.8987 GB, free: 5.277 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.621e-05/0.03514, allocations: 8 kB / 0.8987 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.03518, allocations: 27.95 kB / 0.8987 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.03519, allocations: 11.98 kB / 0.8987 GB, free: 5.23 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.708e-05/0.03527, allocations: 189.1 kB / 0.8989 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.03527, allocations: 4 kB / 0.8989 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001743/0.03544, allocations: 48 kB / 0.899 GB, free: 4.992 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.000709/0.03615, allocations: 350 kB / 0.8993 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001833/0.03633, allocations: 139.8 kB / 0.8994 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.03633, allocations: 0 / 0.8994 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.624e-05/0.03642, allocations: 91.78 kB / 0.8995 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.03659, allocations: 62.75 kB / 0.8996 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006216/0.03722, allocations: 435.7 kB / 0.9 GB, free: 4.008 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.049e-05/0.03727, allocations: 97.98 kB / 0.9001 GB, free: 3.891 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001243/0.03739, allocations: 86.92 kB / 0.9002 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.03754, allocations: 146.1 kB / 0.9003 GB, free: 3.66 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/0.03754, allocations: 0 / 0.9003 GB, free: 3.66 MB / 0.8542 GB Notification: Performance of Templates: time 0.004742/0.04228, allocations: 3.209 MB / 0.9034 GB, free: 484 kB / 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.684664851054549]