Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008554/0.0008554, allocations: 80.45 kB / 19.93 MB, free: 4.605 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.0008271/0.0008271, allocations: 173.2 kB / 23.22 MB, free: 1.316 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.8822/0.8822, allocations: 177.2 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.737/1.737, allocations: 377.8 MB / 0.6229 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.9822 GB, free: 0.9375 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/2.893e-05, allocations: 2.281 kB / 0.9822 GB, free: 0.9336 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002289/0.002318, allocations: 1.685 MB / 0.9839 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.003632, allocations: 1.375 MB / 0.9852 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.149e-05/0.003703, allocations: 0 / 0.9852 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002476/0.003951, allocations: 27.67 kB / 0.9852 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.000391/0.004342, allocations: 111.5 kB / 0.9853 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.004676, allocations: 160.2 kB / 0.9855 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.004956, allocations: 269.4 kB / 0.9857 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.00507, allocations: 17.58 kB / 0.9858 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.005194, allocations: 123.8 kB / 0.9859 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.005362, allocations: 83.81 kB / 0.986 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.005392, allocations: 20 kB / 0.986 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.005562, allocations: 119.8 kB / 0.9861 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.005662, allocations: 87.73 kB / 0.9862 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 7.655e-05/0.005739, allocations: 71.81 kB / 0.9862 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.006117, allocations: 362.8 kB / 0.9866 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.00612, allocations: 4 kB / 0.9866 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.214e-06/0.006122, allocations: 4 kB / 0.9866 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.006128, allocations: 0 / 0.9866 GB, free: 12.42 MB / 0.9011 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.0007009/0.006829, allocations: 0.4955 MB / 0.9871 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.006868, allocations: 11.97 kB / 0.9871 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.68e-05/0.006935, allocations: 32.75 kB / 0.9871 GB, free: 11.85 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.007175, allocations: 216.8 kB / 0.9873 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.007195, allocations: 12.7 kB / 0.9873 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.007217, allocations: 16.38 kB / 0.9874 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/0.007533, allocations: 323.2 kB / 0.9877 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.007545, allocations: 4.172 kB / 0.9877 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.007564, allocations: 16.12 kB / 0.9877 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.007571, allocations: 7.938 kB / 0.9877 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005314/0.008103, allocations: 0.6984 MB / 0.9884 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007267/0.008829, allocations: 0.4886 MB / 0.9888 GB, free: 9.984 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.009108, allocations: 216.8 kB / 0.9891 GB, free: 9.766 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.009209, allocations: 93.38 kB / 0.9891 GB, free: 9.672 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-05/0.00925, allocations: 20.2 kB / 0.9892 GB, free: 9.652 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002869/0.009536, allocations: 204.3 kB / 0.9894 GB, free: 9.438 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=34): time 2.444e-06/0.009539, allocations: 4 kB / 0.9894 GB, free: 9.434 MB / 0.9011 GB Notification: Performance of matching and sorting (n=34): time 0.0005197/0.01006, allocations: 369.2 kB / 0.9897 GB, free: 9.066 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/0.01021, allocations: 132.5 kB / 0.9898 GB, free: 8.906 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.01044, allocations: 317.7 kB / 0.9901 GB, free: 8.59 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.01047, allocations: 41.62 kB / 0.9902 GB, free: 8.543 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/0.01054, allocations: 128.7 kB / 0.9903 GB, free: 8.414 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.837e-05/0.01061, allocations: 115.1 kB / 0.9904 GB, free: 8.301 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.048e-05/0.01068, allocations: 65.69 kB / 0.9905 GB, free: 8.23 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.01078, allocations: 338.8 kB / 0.9908 GB, free: 7.891 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.01088, allocations: 87.95 kB / 0.9909 GB, free: 7.805 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.01104, allocations: 205.8 kB / 0.9911 GB, free: 7.574 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.01128, allocations: 213.8 kB / 0.9913 GB, free: 7.363 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01128, allocations: 0 / 0.9913 GB, free: 7.363 MB / 0.9011 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002927/0.01157, allocations: 289.1 kB / 0.9916 GB, free: 7.074 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.01159, allocations: 14.59 kB / 0.9916 GB, free: 7.062 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.0116, allocations: 0 / 0.9916 GB, free: 7.062 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.01161, allocations: 0 / 0.9916 GB, free: 7.062 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.01176, allocations: 55.97 kB / 0.9916 GB, free: 7.008 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.01176, allocations: 3.938 kB / 0.9916 GB, free: 7.004 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.403e-05/0.01185, allocations: 38.72 kB / 0.9917 GB, free: 6.969 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.01187, allocations: 15.98 kB / 0.9917 GB, free: 6.953 MB / 0.9011 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.0001265/0.01199, allocations: 170.3 kB / 0.9918 GB, free: 6.777 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.01202, allocations: 23.86 kB / 0.9919 GB, free: 6.754 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004325/0.01245, allocations: 389.9 kB / 0.9922 GB, free: 6.363 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.01246, allocations: 4 kB / 0.9922 GB, free: 6.359 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.01246, allocations: 0 / 0.9922 GB, free: 6.359 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.01247, allocations: 0 / 0.9922 GB, free: 6.359 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.01266, allocations: 241 kB / 0.9925 GB, free: 6.094 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01266, allocations: 0 / 0.9925 GB, free: 6.094 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.01277, allocations: 63.84 kB / 0.9925 GB, free: 6.031 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.01277, allocations: 3.938 kB / 0.9925 GB, free: 6.027 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.01278, allocations: 8 kB / 0.9925 GB, free: 6.02 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.01279, allocations: 3.984 kB / 0.9926 GB, free: 6.016 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.01279, allocations: 8 kB / 0.9926 GB, free: 6.008 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.0131, allocations: 322.2 kB / 0.9929 GB, free: 5.676 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.204e-05/0.01319, allocations: 63.73 kB / 0.9929 GB, free: 5.613 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.01321, allocations: 8 kB / 0.9929 GB, free: 5.605 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.285e-05/0.01331, allocations: 23.97 kB / 0.993 GB, free: 5.582 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.01336, allocations: 27.89 kB / 0.993 GB, free: 5.555 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.01338, allocations: 12 kB / 0.993 GB, free: 5.543 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001456/0.01352, allocations: 245.2 kB / 0.9932 GB, free: 5.305 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.01352, allocations: 0 / 0.9932 GB, free: 5.305 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000244/0.01377, allocations: 79.81 kB / 0.9933 GB, free: 5.227 MB / 0.9011 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.0008628/0.01463, allocations: 492.5 kB / 0.9938 GB, free: 4.926 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002949/0.01492, allocations: 220.1 kB / 0.994 GB, free: 4.711 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.01493, allocations: 3.984 kB / 0.994 GB, free: 4.707 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.01505, allocations: 111.9 kB / 0.9941 GB, free: 4.598 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.01525, allocations: 44.42 kB / 0.9941 GB, free: 4.555 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006536/0.0159, allocations: 0.5399 MB / 0.9947 GB, free: 3.98 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.01601, allocations: 154.9 kB / 0.9948 GB, free: 3.809 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.011e-05/0.0161, allocations: 52.47 kB / 0.9949 GB, free: 3.754 MB / 0.9011 GB Notification: Performance of SimCode: time 6.71e-07/0.0161, allocations: 0 / 0.9949 GB, free: 3.754 MB / 0.9011 GB Notification: Performance of Templates: time 0.00517/0.02127, allocations: 4.745 MB / 0.9995 GB, free: 15.02 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.0917722918093204]