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.001322/0.001322, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001538/0.001538, allocations: 216.2 kB / 23.01 MB, free: 4.566 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.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 3.383/3.383, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 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.002018/0.002018, allocations: 67.2 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3783, allocations: 180.2 MB / 1.354 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003328/0.3816, allocations: 1.716 MB / 1.356 GB, free: 6.223 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002189/0.3838, allocations: 1.395 MB / 1.357 GB, free: 4.82 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.274e-05/0.3839, allocations: 4 kB / 1.357 GB, free: 4.816 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.3841, allocations: 35.72 kB / 1.357 GB, free: 4.781 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003867/0.3845, allocations: 108.6 kB / 1.357 GB, free: 4.676 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.3849, allocations: 146.8 kB / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.3852, allocations: 257.5 kB / 1.358 GB, free: 4.285 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.3853, allocations: 17.58 kB / 1.358 GB, free: 4.266 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.3854, allocations: 91.75 kB / 1.358 GB, free: 4.176 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.3857, allocations: 103.7 kB / 1.358 GB, free: 4.074 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.202e-05/0.3857, allocations: 24 kB / 1.358 GB, free: 4.051 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002351/0.386, allocations: 127.9 kB / 1.358 GB, free: 3.926 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.3861, allocations: 83.75 kB / 1.358 GB, free: 3.844 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.3862, allocations: 119.2 kB / 1.358 GB, free: 3.727 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004432/0.3866, allocations: 330.7 kB / 1.359 GB, free: 3.402 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3866, allocations: 0 / 1.359 GB, free: 3.402 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3866, allocations: 4 kB / 1.359 GB, free: 3.398 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3866, allocations: 0 / 1.359 GB, free: 3.398 MB / 1.045 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.0008672/0.3875, allocations: 0.4976 MB / 1.359 GB, free: 2.867 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.3876, allocations: 12.03 kB / 1.359 GB, free: 2.855 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.893e-05/0.3876, allocations: 24.8 kB / 1.359 GB, free: 2.832 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.3879, allocations: 217 kB / 1.359 GB, free: 2.598 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.388, allocations: 16.38 kB / 1.359 GB, free: 2.582 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.388, allocations: 16.36 kB / 1.359 GB, free: 2.566 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004113/0.3884, allocations: 228.5 kB / 1.359 GB, free: 2.324 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.3884, allocations: 0 / 1.359 GB, free: 2.324 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.3884, allocations: 12 kB / 1.36 GB, free: 2.312 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3884, allocations: 7.938 kB / 1.36 GB, free: 2.305 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000954/0.3894, allocations: 0.7334 MB / 1.36 GB, free: 1.57 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.3905, allocations: 0.554 MB / 1.361 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004568/0.3909, allocations: 207.5 kB / 1.361 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.3911, allocations: 92.81 kB / 1.361 GB, free: 0.668 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.086e-05/0.3911, allocations: 23.97 kB / 1.361 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004203/0.3916, allocations: 169.5 kB / 1.361 GB, free: 480 kB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.3916, allocations: 0 / 1.361 GB, free: 480 kB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.0007339/0.3923, allocations: 374.5 kB / 1.362 GB, free: 100 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.3924, allocations: 132.5 kB / 1.362 GB, free: 15.94 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.3928, allocations: 316.9 kB / 1.362 GB, free: 15.61 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.3928, allocations: 37.7 kB / 1.362 GB, free: 15.57 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.3929, allocations: 124.8 kB / 1.362 GB, free: 15.45 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.393, allocations: 119 kB / 1.362 GB, free: 15.33 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.92e-05/0.3931, allocations: 69.62 kB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3933, allocations: 334.8 kB / 1.363 GB, free: 14.92 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.3934, allocations: 75.95 kB / 1.363 GB, free: 14.84 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.3937, allocations: 123.4 kB / 1.363 GB, free: 14.71 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/0.394, allocations: 218.3 kB / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.394, allocations: 0 / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004754/0.3945, allocations: 269.4 kB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3945, allocations: 6.188 kB / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.3945, allocations: 4 kB / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3945, allocations: 0 / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.3948, allocations: 59.91 kB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3948, allocations: 0 / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.3949, allocations: 37.39 kB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.395, allocations: 12 kB / 1.363 GB, free: 14.11 MB / 1.061 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.0001804/0.3951, allocations: 169.7 kB / 1.364 GB, free: 13.94 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.21e-05/0.3952, allocations: 31.81 kB / 1.364 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008511/0.3961, allocations: 377 kB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.3961, allocations: 4 kB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3961, allocations: 0 / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.3961, allocations: 7.938 kB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003524/0.3964, allocations: 308.4 kB / 1.364 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3964, allocations: 0 / 1.364 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.3966, allocations: 59.91 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3966, allocations: 0 / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.3966, allocations: 11.98 kB / 1.364 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3966, allocations: 4 kB / 1.364 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3966, allocations: 4 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005187/0.3972, allocations: 317.7 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.3973, allocations: 63.73 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/0.3974, allocations: 11.98 kB / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.3975, allocations: 15.98 kB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.3976, allocations: 27.89 kB / 1.365 GB, free: 12.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.3976, allocations: 12 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002539/0.3979, allocations: 244.4 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3979, allocations: 0 / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003358/0.3982, allocations: 83.81 kB / 1.365 GB, free: 12.32 MB / 1.061 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.001674/0.3999, allocations: 464.4 kB / 1.366 GB, free: 12.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004405/0.4003, allocations: 216.3 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.4003, allocations: 4 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002834/0.4006, allocations: 116.4 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.4009, allocations: 38.28 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.402, allocations: 0.5502 MB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.4025, allocations: 0.7612 MB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.4026, allocations: 51.41 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of SimCode: time 3.6e-07/0.4026, allocations: 0 / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of Templates: time 0.008459/0.411, allocations: 4.604 MB / 1.372 GB, free: 5.637 MB / 1.061 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=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/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.32095039600972]