Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 194.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.211/1.211, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.113/2.113, allocations: 390.3 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 67.89 kB / 0.8127 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4934/0.4946, allocations: 140.4 MB / 0.9497 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002312/0.497, allocations: 1.66 MB / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.4981, allocations: 1.162 MB / 0.9525 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.726e-05/0.4982, allocations: 0 / 0.9525 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.4984, allocations: 28.86 kB / 0.9525 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.4986, allocations: 80.62 kB / 0.9526 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.4989, allocations: 138.8 kB / 0.9527 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.4991, allocations: 247.9 kB / 0.9529 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.563e-05/0.4992, allocations: 18.16 kB / 0.953 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.36e-05/0.4992, allocations: 87.16 kB / 0.953 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.4994, allocations: 92.48 kB / 0.9531 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.4994, allocations: 20.5 kB / 0.9532 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.4996, allocations: 78.69 kB / 0.9532 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.563e-05/0.4997, allocations: 85.8 kB / 0.9533 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.902e-05/0.4997, allocations: 105.6 kB / 0.9534 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.5, allocations: 290 kB / 0.9537 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.5, allocations: 1.281 kB / 0.9537 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.52e-07/0.5, allocations: 0 / 0.9537 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.5, allocations: 4 kB / 0.9537 GB, free: 6.164 MB / 0.7169 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.0005443/0.5006, allocations: 0.5363 MB / 0.9542 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.5006, allocations: 9.25 kB / 0.9542 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.5006, allocations: 57.98 kB / 0.9543 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.236e-05/0.5007, allocations: 28.91 kB / 0.9543 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.5009, allocations: 269.8 kB / 0.9546 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.5009, allocations: 11.72 kB / 0.9546 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.501, allocations: 13.91 kB / 0.9546 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/0.5012, allocations: 230.7 kB / 0.9548 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.5013, allocations: 0 / 0.9548 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.5013, allocations: 6 kB / 0.9548 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.5013, allocations: 4.094 kB / 0.9548 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006663/0.502, allocations: 0.7378 MB / 0.9555 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006573/0.5026, allocations: 0.5771 MB / 0.9561 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.5029, allocations: 222.8 kB / 0.9563 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.5031, allocations: 101.1 kB / 0.9564 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.5031, allocations: 21.59 kB / 0.9564 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/0.5033, allocations: 176.8 kB / 0.9566 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 1.383e-06/0.5034, allocations: 0 / 0.9566 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.0005544/0.5039, allocations: 366.1 kB / 0.957 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.504, allocations: 132.9 kB / 0.9571 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.5042, allocations: 314.5 kB / 0.9574 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.5042, allocations: 31.77 kB / 0.9574 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/0.5043, allocations: 121.5 kB / 0.9575 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.73e-05/0.5043, allocations: 113.6 kB / 0.9576 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-05/0.5044, allocations: 64.25 kB / 0.9577 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.491e-05/0.5045, allocations: 338.8 kB / 0.958 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.5046, allocations: 78.52 kB / 0.9581 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.5048, allocations: 123.9 kB / 0.9582 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.505, allocations: 211.9 kB / 0.9584 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.505, allocations: 0 / 0.9584 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000366/0.5054, allocations: 269.1 kB / 0.9587 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.5054, allocations: 5.438 kB / 0.9587 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.5054, allocations: 7.938 kB / 0.9587 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.5055, allocations: 2.25 kB / 0.9587 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.5057, allocations: 61.97 kB / 0.9587 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.5057, allocations: 5.031 kB / 0.9587 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.5058, allocations: 28.58 kB / 0.9588 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.5058, allocations: 11.88 kB / 0.9588 GB, free: 2.43 MB / 0.7169 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.0001072/0.506, allocations: 165.8 kB / 0.9589 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/0.506, allocations: 27.75 kB / 0.959 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005599/0.5066, allocations: 380.7 kB / 0.9593 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.5066, allocations: 8.094 kB / 0.9593 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5066, allocations: 3.938 kB / 0.9593 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.5066, allocations: 5 kB / 0.9594 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.5068, allocations: 327.4 kB / 0.9597 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.5068, allocations: 1.281 kB / 0.9597 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.507, allocations: 58.78 kB / 0.9597 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.507, allocations: 2.312 kB / 0.9597 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.507, allocations: 11.41 kB / 0.9597 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.507, allocations: 2.312 kB / 0.9597 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.507, allocations: 3.938 kB / 0.9597 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003888/0.5074, allocations: 317.6 kB / 0.96 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.515e-05/0.5075, allocations: 142.9 kB / 0.9602 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.5076, allocations: 6.094 kB / 0.9602 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.5077, allocations: 15.7 kB / 0.9602 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.5078, allocations: 31.91 kB / 0.9602 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.5078, allocations: 13.3 kB / 0.9602 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001524/0.508, allocations: 235.8 kB / 0.9605 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.508, allocations: 1.188 kB / 0.9605 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002666/0.5082, allocations: 60.72 kB / 0.9605 GB, free: 1.191 MB / 0.7169 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.001228/0.5095, allocations: 1.167 MB / 0.9617 GB, free: 364 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000435/0.5099, allocations: 293.8 kB / 0.9619 GB, free: 264 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5099, allocations: 0 / 0.9619 GB, free: 264 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.5101, allocations: 128.8 kB / 0.9621 GB, free: 212 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.5103, allocations: 38.41 kB / 0.9621 GB, free: 184 kB / 0.7169 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.5129, allocations: 2.431 MB / 0.9645 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.5131, allocations: 0.755 MB / 0.9652 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003131/0.5135, allocations: 147.5 kB / 0.9654 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.5136, allocations: 93.17 kB / 0.9654 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.5136, allocations: 0 / 0.9654 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4041/0.9177, allocations: 5.451 MB / 0.9708 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.665/7.583, allocations: 9.297 kB / 0.9708 GB, free: 10.82 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches