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.001412/0.001412, allocations: 84.36 kB / 19.76 MB, free: 2.016 MB / 14.72 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.00227/0.00227, allocations: 154.1 kB / 23.01 MB, free: 4.973 MB / 14.72 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.485/1.485, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] 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.915/2.915, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002401/0.002401, allocations: 71.88 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053/1.056, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.004048/1.06, allocations: 1.67 MB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002598/1.062, allocations: 1.376 MB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.079e-05/1.062, allocations: 1.094 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002788/1.063, allocations: 28.91 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0005492/1.063, allocations: 111.3 kB / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005568/1.064, allocations: 156.6 kB / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004403/1.064, allocations: 252.4 kB / 1.19 GB, free: 13.84 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/1.064, allocations: 23.03 kB / 1.19 GB, free: 13.82 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/1.064, allocations: 92.19 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/1.065, allocations: 88.31 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.326e-05/1.065, allocations: 19.03 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000312/1.065, allocations: 121.7 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000154/1.065, allocations: 89.8 kB / 1.191 GB, free: 13.67 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/1.065, allocations: 85.5 kB / 1.191 GB, free: 13.62 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006215/1.066, allocations: 344.6 kB / 1.191 GB, free: 13.48 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.066, allocations: 0 / 1.191 GB, free: 13.48 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.935e-06/1.066, allocations: 1.969 kB / 1.191 GB, free: 13.48 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.155e-06/1.066, allocations: 4 kB / 1.191 GB, free: 13.48 MB / 1.076 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.001063/1.067, allocations: 499.8 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/1.067, allocations: 9.688 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/1.067, allocations: 34.59 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/1.068, allocations: 210.8 kB / 1.192 GB, free: 12.88 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/1.068, allocations: 10.84 kB / 1.192 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/1.068, allocations: 15.06 kB / 1.192 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005814/1.068, allocations: 327.9 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/1.068, allocations: 0 / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/1.068, allocations: 7.219 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/1.068, allocations: 8.219 kB / 1.192 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/1.07, allocations: 0.6815 MB / 1.193 GB, free: 12.53 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/1.071, allocations: 0.4923 MB / 1.193 GB, free: 12.2 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00055/1.072, allocations: 205.9 kB / 1.193 GB, free: 12.13 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/1.072, allocations: 91.14 kB / 1.193 GB, free: 12.09 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.475e-05/1.072, allocations: 12.95 kB / 1.193 GB, free: 12.09 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005106/1.072, allocations: 204.9 kB / 1.194 GB, free: 11.97 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 2.795e-06/1.072, allocations: 0 / 1.194 GB, free: 11.97 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.001045/1.073, allocations: 372.1 kB / 1.194 GB, free: 11.83 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/1.074, allocations: 133.9 kB / 1.194 GB, free: 11.67 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004514/1.074, allocations: 319.5 kB / 1.194 GB, free: 11.5 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/1.074, allocations: 31.05 kB / 1.194 GB, free: 11.47 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.499e-05/1.074, allocations: 129.1 kB / 1.195 GB, free: 11.36 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/1.074, allocations: 117.5 kB / 1.195 GB, free: 11.26 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/1.074, allocations: 61.41 kB / 1.195 GB, free: 11.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.861e-05/1.074, allocations: 343.1 kB / 1.195 GB, free: 10.9 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/1.075, allocations: 79.3 kB / 1.195 GB, free: 10.88 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/1.075, allocations: 202.1 kB / 1.195 GB, free: 10.72 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005651/1.076, allocations: 208.3 kB / 1.196 GB, free: 10.64 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.076, allocations: 4.609 kB / 1.196 GB, free: 10.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006852/1.076, allocations: 273.5 kB / 1.196 GB, free: 10.52 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/1.076, allocations: 6.172 kB / 1.196 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/1.076, allocations: 0 / 1.196 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/1.076, allocations: 5.844 kB / 1.196 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/1.077, allocations: 58.06 kB / 1.196 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.077, allocations: 1.094 kB / 1.196 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/1.077, allocations: 33.33 kB / 1.196 GB, free: 10.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/1.077, allocations: 14.06 kB / 1.196 GB, free: 10.49 MB / 1.076 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.0001994/1.077, allocations: 170.6 kB / 1.196 GB, free: 10.35 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.79e-05/1.077, allocations: 29.36 kB / 1.196 GB, free: 10.33 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/1.078, allocations: 385.9 kB / 1.197 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/1.078, allocations: 3.562 kB / 1.197 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.078, allocations: 1.281 kB / 1.197 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/1.078, allocations: 1.969 kB / 1.197 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/1.079, allocations: 237.2 kB / 1.197 GB, free: 9.984 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/1.079, allocations: 0.75 kB / 1.197 GB, free: 9.984 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/1.079, allocations: 59.38 kB / 1.197 GB, free: 9.977 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/1.079, allocations: 2.188 kB / 1.197 GB, free: 9.977 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/1.079, allocations: 9.156 kB / 1.197 GB, free: 9.973 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/1.079, allocations: 1.578 kB / 1.197 GB, free: 9.973 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.079, allocations: 1.219 kB / 1.197 GB, free: 9.973 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007966/1.08, allocations: 321.8 kB / 1.197 GB, free: 9.816 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002303/1.08, allocations: 75.03 kB / 1.197 GB, free: 9.777 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/1.08, allocations: 6.25 kB / 1.197 GB, free: 9.773 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/1.08, allocations: 15.16 kB / 1.197 GB, free: 9.77 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.368e-05/1.08, allocations: 25.72 kB / 1.197 GB, free: 9.766 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.708e-05/1.081, allocations: 16.05 kB / 1.197 GB, free: 9.762 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003685/1.081, allocations: 240.9 kB / 1.197 GB, free: 9.633 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.081, allocations: 0 / 1.197 GB, free: 9.633 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000599/1.081, allocations: 76.64 kB / 1.198 GB, free: 9.613 MB / 1.076 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.002512/1.084, allocations: 0.4883 MB / 1.198 GB, free: 9.387 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006745/1.085, allocations: 216.8 kB / 1.198 GB, free: 9.328 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.085, allocations: 1.156 kB / 1.198 GB, free: 9.328 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003364/1.085, allocations: 115.6 kB / 1.198 GB, free: 9.297 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/1.085, allocations: 35.8 kB / 1.198 GB, free: 9.281 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/1.087, allocations: 0.508 MB / 1.199 GB, free: 9 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/1.087, allocations: 155.8 kB / 1.199 GB, free: 8.906 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006319/1.088, allocations: 144.9 kB / 1.199 GB, free: 8.871 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/1.088, allocations: 48.5 kB / 1.199 GB, free: 8.855 MB / 1.076 GB Notification: Performance of SimCode: time 4.51e-07/1.088, allocations: 0 / 1.199 GB, free: 8.855 MB / 1.076 GB Notification: Performance of Templates: time 0.01412/1.102, allocations: 3.446 MB / 1.203 GB, free: 8.375 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.144665800035]