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.001286/0.001286, allocations: 100.4 kB / 19.7 MB, free: 2.141 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.001431/0.001431, allocations: 219.4 kB / 22.99 MB, free: 4.961 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.317/3.317, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 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.002112/0.002112, allocations: 68.02 kB / 1.187 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4383/0.4404, allocations: 181.9 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003597/0.444, allocations: 1.676 MB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002431/0.4464, allocations: 1.365 MB / 1.368 GB, free: 10.51 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.175e-05/0.4465, allocations: 0 / 1.368 GB, free: 10.51 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.4468, allocations: 31.8 kB / 1.368 GB, free: 10.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004944/0.4473, allocations: 111.5 kB / 1.368 GB, free: 10.37 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.4477, allocations: 141.5 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004306/0.4481, allocations: 261.4 kB / 1.368 GB, free: 9.973 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.4482, allocations: 13.59 kB / 1.368 GB, free: 9.953 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.4484, allocations: 91.81 kB / 1.368 GB, free: 9.863 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.4486, allocations: 87.7 kB / 1.368 GB, free: 9.777 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.836e-05/0.4486, allocations: 20 kB / 1.368 GB, free: 9.758 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.4488, allocations: 127.9 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.449, allocations: 87.73 kB / 1.369 GB, free: 9.547 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.4491, allocations: 87.52 kB / 1.369 GB, free: 9.461 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004913/0.4496, allocations: 334.7 kB / 1.369 GB, free: 9.133 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4496, allocations: 0 / 1.369 GB, free: 9.133 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4496, allocations: 0 / 1.369 GB, free: 9.133 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.4496, allocations: 4 kB / 1.369 GB, free: 9.129 MB / 1.061 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.0009756/0.4506, allocations: 0.5014 MB / 1.369 GB, free: 8.598 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.4506, allocations: 8.031 kB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.841e-05/0.4507, allocations: 32.75 kB / 1.369 GB, free: 8.559 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.451, allocations: 217.1 kB / 1.37 GB, free: 8.324 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.4511, allocations: 12.38 kB / 1.37 GB, free: 8.312 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.4511, allocations: 12.38 kB / 1.37 GB, free: 8.301 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004809/0.4516, allocations: 327.4 kB / 1.37 GB, free: 7.938 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.4516, allocations: 0 / 1.37 GB, free: 7.938 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.4516, allocations: 8 kB / 1.37 GB, free: 7.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.4516, allocations: 4 kB / 1.37 GB, free: 7.926 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.4526, allocations: 0.6904 MB / 1.371 GB, free: 7.234 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009574/0.4536, allocations: 496 kB / 1.371 GB, free: 6.719 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003886/0.454, allocations: 208 kB / 1.371 GB, free: 6.508 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.4541, allocations: 96.75 kB / 1.371 GB, free: 6.41 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.726e-05/0.4542, allocations: 11.98 kB / 1.371 GB, free: 6.398 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004167/0.4546, allocations: 203.2 kB / 1.372 GB, free: 6.184 MB / 1.061 GB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.4546, allocations: 0 / 1.372 GB, free: 6.184 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.0007765/0.4554, allocations: 370.6 kB / 1.372 GB, free: 5.816 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.884e-05/0.4555, allocations: 132.5 kB / 1.372 GB, free: 5.656 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004647/0.4559, allocations: 320.9 kB / 1.372 GB, free: 5.332 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.456, allocations: 33.7 kB / 1.372 GB, free: 5.293 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.4561, allocations: 128.7 kB / 1.373 GB, free: 5.164 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.4562, allocations: 119 kB / 1.373 GB, free: 5.047 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.652e-05/0.4563, allocations: 57.69 kB / 1.373 GB, free: 4.984 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.4565, allocations: 342.8 kB / 1.373 GB, free: 4.641 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.4566, allocations: 79.95 kB / 1.373 GB, free: 4.562 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.4569, allocations: 197.6 kB / 1.373 GB, free: 4.34 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.4572, allocations: 209.2 kB / 1.374 GB, free: 4.133 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4572, allocations: 0 / 1.374 GB, free: 4.133 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004677/0.4577, allocations: 281.2 kB / 1.374 GB, free: 3.852 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.4577, allocations: 8 kB / 1.374 GB, free: 3.844 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4577, allocations: 0 / 1.374 GB, free: 3.844 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.4577, allocations: 4 kB / 1.374 GB, free: 3.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.458, allocations: 60.02 kB / 1.374 GB, free: 3.781 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.458, allocations: 7.922 kB / 1.374 GB, free: 3.773 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.4581, allocations: 31.8 kB / 1.374 GB, free: 3.742 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.4582, allocations: 11.94 kB / 1.374 GB, free: 3.73 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.0001791/0.4584, allocations: 162.9 kB / 1.374 GB, free: 3.562 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/0.4584, allocations: 27.81 kB / 1.374 GB, free: 3.535 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007226/0.4591, allocations: 384.9 kB / 1.374 GB, free: 3.152 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.4591, allocations: 4 kB / 1.374 GB, free: 3.148 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4591, allocations: 0 / 1.374 GB, free: 3.148 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4591, allocations: 0 / 1.374 GB, free: 3.148 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000388/0.4595, allocations: 237 kB / 1.375 GB, free: 2.887 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4595, allocations: 4 kB / 1.375 GB, free: 2.883 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.4597, allocations: 59.91 kB / 1.375 GB, free: 2.824 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.4597, allocations: 4 kB / 1.375 GB, free: 2.82 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.4597, allocations: 11.98 kB / 1.375 GB, free: 2.809 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.4597, allocations: 4 kB / 1.375 GB, free: 2.805 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4597, allocations: 0 / 1.375 GB, free: 2.805 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005447/0.4603, allocations: 313.7 kB / 1.375 GB, free: 2.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.4604, allocations: 75.62 kB / 1.375 GB, free: 2.406 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.4605, allocations: 8 kB / 1.375 GB, free: 2.398 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.4607, allocations: 22.36 kB / 1.375 GB, free: 2.379 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.4607, allocations: 27.91 kB / 1.375 GB, free: 2.352 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.4608, allocations: 15.98 kB / 1.375 GB, free: 2.336 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002484/0.461, allocations: 240.4 kB / 1.375 GB, free: 2.098 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.461, allocations: 0 / 1.375 GB, free: 2.098 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00033/0.4614, allocations: 79.86 kB / 1.376 GB, free: 2.02 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.001757/0.4631, allocations: 493.5 kB / 1.376 GB, free: 1.719 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004438/0.4636, allocations: 216.3 kB / 1.376 GB, free: 1.508 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.4636, allocations: 0 / 1.376 GB, free: 1.508 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.4638, allocations: 111.9 kB / 1.376 GB, free: 1.398 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.464, allocations: 38.61 kB / 1.376 GB, free: 1.363 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009815/0.465, allocations: 0.5496 MB / 1.377 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.4653, allocations: 147.4 kB / 1.377 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.4654, allocations: 55.41 kB / 1.377 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/0.4654, allocations: 0 / 1.377 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of Templates: time 0.008344/0.4737, allocations: 4.661 MB / 1.382 GB, free: 11.91 MB / 1.076 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.202815520577133]