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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 109.5 kB / 17.08 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.984/2.984, allocations: 489.3 MB / 0.7687 GB, free: 3.812 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002331/0.002331, allocations: 63.89 kB / 1.103 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9969/0.9993, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003022/1.002, allocations: 1.661 MB / 1.264 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00166/1.004, allocations: 1.181 MB / 1.265 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.833e-05/1.004, allocations: 0.8125 kB / 1.265 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002914/1.004, allocations: 22.8 kB / 1.265 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003061/1.005, allocations: 66.64 kB / 1.265 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/1.005, allocations: 155.3 kB / 1.266 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003431/1.006, allocations: 245.4 kB / 1.266 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/1.006, allocations: 27.94 kB / 1.266 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/1.006, allocations: 81.08 kB / 1.266 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/1.006, allocations: 93.06 kB / 1.266 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.746e-05/1.006, allocations: 17.84 kB / 1.266 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/1.006, allocations: 76.77 kB / 1.266 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/1.006, allocations: 85.16 kB / 1.266 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/1.006, allocations: 109.2 kB / 1.266 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004191/1.007, allocations: 288.5 kB / 1.267 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/1.007, allocations: 3.938 kB / 1.267 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.482e-06/1.007, allocations: 0.6875 kB / 1.267 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.843e-06/1.007, allocations: 0 / 1.267 GB, free: 5.473 MB / 0.9981 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.0007219/1.008, allocations: 0.5416 MB / 1.267 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/1.008, allocations: 8.75 kB / 1.267 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.681e-05/1.008, allocations: 30.22 kB / 1.267 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/1.008, allocations: 268.7 kB / 1.267 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/1.008, allocations: 19 kB / 1.267 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/1.008, allocations: 14.69 kB / 1.267 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004144/1.009, allocations: 221.1 kB / 1.268 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.009, allocations: 0 / 1.268 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/1.009, allocations: 10.47 kB / 1.268 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/1.009, allocations: 3.375 kB / 1.268 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/1.01, allocations: 0.7332 MB / 1.268 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009087/1.011, allocations: 0.5784 MB / 1.269 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003806/1.011, allocations: 225.6 kB / 1.269 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/1.011, allocations: 102.1 kB / 1.269 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.385e-05/1.011, allocations: 16.64 kB / 1.269 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003292/1.012, allocations: 179 kB / 1.269 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.874e-06/1.012, allocations: 0 / 1.269 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.0007084/1.012, allocations: 368.4 kB / 1.27 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/1.012, allocations: 136 kB / 1.27 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/1.013, allocations: 306.8 kB / 1.27 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/1.013, allocations: 35.52 kB / 1.27 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/1.013, allocations: 123.6 kB / 1.27 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.072e-05/1.013, allocations: 119.4 kB / 1.27 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.933e-05/1.013, allocations: 64.36 kB / 1.271 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.787e-05/1.013, allocations: 338.2 kB / 1.271 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/1.013, allocations: 78.47 kB / 1.271 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/1.013, allocations: 128.7 kB / 1.271 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/1.014, allocations: 203.3 kB / 1.271 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/1.014, allocations: 4 kB / 1.271 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004283/1.014, allocations: 278.1 kB / 1.272 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/1.014, allocations: 8.969 kB / 1.272 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/1.014, allocations: 1.031 kB / 1.272 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/1.014, allocations: 1.094 kB / 1.272 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/1.014, allocations: 62.06 kB / 1.272 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.944e-06/1.014, allocations: 6.562 kB / 1.272 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/1.015, allocations: 26.38 kB / 1.272 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/1.015, allocations: 13.78 kB / 1.272 GB, free: 2.48 MB / 0.9981 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.0001298/1.015, allocations: 162.9 kB / 1.272 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.183e-05/1.015, allocations: 36.36 kB / 1.272 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006546/1.016, allocations: 374.2 kB / 1.272 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/1.016, allocations: 6.906 kB / 1.272 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.016, allocations: 1.156 kB / 1.272 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/1.016, allocations: 4.734 kB / 1.272 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/1.016, allocations: 327.3 kB / 1.272 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.016, allocations: 0 / 1.272 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/1.016, allocations: 55.02 kB / 1.273 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/1.016, allocations: 1.062 kB / 1.273 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/1.016, allocations: 10.48 kB / 1.273 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/1.016, allocations: 7.906 kB / 1.273 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.016, allocations: 0 / 1.273 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004674/1.017, allocations: 323.5 kB / 1.273 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/1.017, allocations: 143.1 kB / 1.273 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/1.017, allocations: 6.422 kB / 1.273 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/1.017, allocations: 23.11 kB / 1.273 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.4e-05/1.017, allocations: 33.56 kB / 1.273 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/1.017, allocations: 11.08 kB / 1.273 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001869/1.017, allocations: 235.2 kB / 1.273 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.017, allocations: 4 kB / 1.273 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002972/1.017, allocations: 62.91 kB / 1.273 GB, free: 1.438 MB / 0.9981 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.001348/1.019, allocations: 403.2 kB / 1.274 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004201/1.019, allocations: 222.2 kB / 1.274 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.019, allocations: 0.9688 kB / 1.274 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001985/1.019, allocations: 124.7 kB / 1.274 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/1.02, allocations: 35.88 kB / 1.274 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008153/1.021, allocations: 0.5505 MB / 1.275 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/1.021, allocations: 0.7529 MB / 1.275 GB, free: 112 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/1.021, allocations: 55.62 kB / 1.275 GB, free: 92 kB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/1.021, allocations: 0 / 1.275 GB, free: 92 kB / 0.9981 GB Notification: Performance of Templates: time 0.00778/1.029, allocations: 4.218 MB / 1.28 GB, free: 15.59 MB / 1.014 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 -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_2/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: 12.063792465953156]