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.001769/0.001769, allocations: 108.3 kB / 16.46 MB, free: 6.512 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.002046/0.002046, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.637/1.637, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.8066 GB, free: 23.07 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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) [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.00211/0.00211, allocations: 70.78 kB / 1.172 GB, free: 17.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4258, allocations: 180.2 MB / 1.348 GB, free: 9.922 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003756/0.4296, allocations: 1.708 MB / 1.349 GB, free: 8.203 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002403/0.432, allocations: 1.308 MB / 1.351 GB, free: 6.887 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.4321, allocations: 3.938 kB / 1.351 GB, free: 6.883 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.4324, allocations: 23.84 kB / 1.351 GB, free: 6.859 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005128/0.4329, allocations: 115.5 kB / 1.351 GB, free: 6.746 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005399/0.4334, allocations: 146.6 kB / 1.351 GB, free: 6.605 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003958/0.4338, allocations: 257.5 kB / 1.351 GB, free: 6.352 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.4339, allocations: 21.33 kB / 1.351 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.4341, allocations: 95.75 kB / 1.351 GB, free: 6.23 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002722/0.4344, allocations: 91.77 kB / 1.351 GB, free: 6.141 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.438e-05/0.4344, allocations: 20 kB / 1.351 GB, free: 6.121 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002803/0.4347, allocations: 131.9 kB / 1.352 GB, free: 5.992 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.4348, allocations: 87.73 kB / 1.352 GB, free: 5.906 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.435, allocations: 111.3 kB / 1.352 GB, free: 5.797 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005334/0.4355, allocations: 334.6 kB / 1.352 GB, free: 5.469 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4355, allocations: 4 kB / 1.352 GB, free: 5.465 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.355e-06/0.4355, allocations: 0 / 1.352 GB, free: 5.465 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.4355, allocations: 0 / 1.352 GB, free: 5.465 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.0009548/0.4365, allocations: 0.5728 MB / 1.353 GB, free: 4.844 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.4365, allocations: 11.98 kB / 1.353 GB, free: 4.832 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.97e-05/0.4366, allocations: 54.73 kB / 1.353 GB, free: 4.77 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.829e-05/0.4367, allocations: 28.8 kB / 1.353 GB, free: 4.742 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.4371, allocations: 278.9 kB / 1.353 GB, free: 4.434 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.4371, allocations: 12.31 kB / 1.353 GB, free: 4.422 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.4371, allocations: 16.38 kB / 1.353 GB, free: 4.406 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/0.4375, allocations: 220.4 kB / 1.353 GB, free: 4.172 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.4375, allocations: 0 / 1.353 GB, free: 4.172 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.4375, allocations: 11.94 kB / 1.353 GB, free: 4.16 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/0.4376, allocations: 8 kB / 1.353 GB, free: 4.152 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009511/0.4385, allocations: 0.7334 MB / 1.354 GB, free: 3.418 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.4395, allocations: 0.5745 MB / 1.355 GB, free: 2.793 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.4399, allocations: 211.4 kB / 1.355 GB, free: 2.578 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.4401, allocations: 88.81 kB / 1.355 GB, free: 2.488 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.366e-05/0.4401, allocations: 23.95 kB / 1.355 GB, free: 2.465 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003307/0.4405, allocations: 169.5 kB / 1.355 GB, free: 2.289 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 2.074e-06/0.4405, allocations: 0 / 1.355 GB, free: 2.289 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.0007464/0.4412, allocations: 378.5 kB / 1.355 GB, free: 1.914 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.4413, allocations: 132.5 kB / 1.355 GB, free: 1.754 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003772/0.4417, allocations: 324.9 kB / 1.356 GB, free: 1.422 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.4417, allocations: 37.64 kB / 1.356 GB, free: 1.379 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.4418, allocations: 120.8 kB / 1.356 GB, free: 1.258 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.442, allocations: 123 kB / 1.356 GB, free: 1.137 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.4421, allocations: 57.69 kB / 1.356 GB, free: 1.074 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4422, allocations: 338.8 kB / 1.356 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.4424, allocations: 79.95 kB / 1.357 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.4426, allocations: 119.4 kB / 1.357 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/0.4429, allocations: 210.3 kB / 1.357 GB, free: 328 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4429, allocations: 4 kB / 1.357 GB, free: 324 kB / 1.045 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004673/0.4434, allocations: 273.3 kB / 1.357 GB, free: 44 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.4434, allocations: 4 kB / 1.357 GB, free: 40 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.4434, allocations: 0 / 1.357 GB, free: 40 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.4434, allocations: 4 kB / 1.357 GB, free: 36 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.4437, allocations: 55.97 kB / 1.357 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.4437, allocations: 7.938 kB / 1.357 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.4439, allocations: 35.7 kB / 1.357 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.4439, allocations: 8 kB / 1.357 GB, free: 15.93 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.000186/0.4441, allocations: 169.7 kB / 1.357 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.017e-05/0.4441, allocations: 27.81 kB / 1.357 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007185/0.4449, allocations: 376.8 kB / 1.358 GB, free: 15.35 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.4449, allocations: 7.984 kB / 1.358 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.4449, allocations: 7.922 kB / 1.358 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.4449, allocations: 0 / 1.358 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003697/0.4453, allocations: 329.3 kB / 1.358 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4453, allocations: 0 / 1.358 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.4454, allocations: 59.91 kB / 1.358 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.4454, allocations: 4 kB / 1.358 GB, free: 14.9 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.4455, allocations: 11.98 kB / 1.358 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.4455, allocations: 0 / 1.358 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4455, allocations: 7.938 kB / 1.358 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005654/0.446, allocations: 318.3 kB / 1.358 GB, free: 14.55 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.4462, allocations: 148.8 kB / 1.359 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.4462, allocations: 4 kB / 1.359 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.4464, allocations: 17.67 kB / 1.359 GB, free: 14.37 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-05/0.4465, allocations: 27.91 kB / 1.359 GB, free: 14.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/0.4465, allocations: 19.98 kB / 1.359 GB, free: 14.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000263/0.4468, allocations: 244.4 kB / 1.359 GB, free: 14.09 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4468, allocations: 0 / 1.359 GB, free: 14.09 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003457/0.4471, allocations: 75.83 kB / 1.359 GB, free: 14.01 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.002423/0.4496, allocations: 1.21 MB / 1.36 GB, free: 12.94 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004483/0.45, allocations: 216.3 kB / 1.36 GB, free: 12.73 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.45, allocations: 4 kB / 1.36 GB, free: 12.72 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.4502, allocations: 119.8 kB / 1.36 GB, free: 12.61 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.4505, allocations: 41.73 kB / 1.361 GB, free: 12.57 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/0.4536, allocations: 2.488 MB / 1.363 GB, free: 9.992 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.454, allocations: 0.7574 MB / 1.364 GB, free: 9.211 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003357/0.4543, allocations: 142.9 kB / 1.364 GB, free: 9.074 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.4545, allocations: 95.39 kB / 1.364 GB, free: 8.98 MB / 1.061 GB Notification: Performance of SimCode: time 8.42e-07/0.4545, allocations: 3.938 kB / 1.364 GB, free: 8.977 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03482/0.4893, allocations: 6.039 MB / 1.37 GB, free: 3.027 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/8.659, allocations: 12.33 kB / 1.37 GB, free: 3.02 MB / 1.061 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv","/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] "Error: Could not read variable chePre.PIn in file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv. Warning: Get data of variable chePre.PIn from file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.129396348027512]