Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_10_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.001335/0.001335, allocations: 108 kB / 15.6 MB, free: 132 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.001212/0.001212, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.209/1.209, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.346/2.346, allocations: 437.1 MB / 0.7104 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 63.91 kB / 0.8693 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4659/0.4671, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002624/0.4697, allocations: 1.663 MB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.4711, allocations: 1.167 MB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.706e-05/0.4712, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.4714, allocations: 27.78 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.4716, allocations: 75.62 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.4719, allocations: 138.3 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.4722, allocations: 245.5 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.68e-05/0.4723, allocations: 19.98 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.314e-05/0.4723, allocations: 95.75 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.4725, allocations: 91.7 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.563e-05/0.4726, allocations: 16 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.4727, allocations: 87.97 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.139e-05/0.4728, allocations: 79.8 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.4729, allocations: 111.3 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.4732, allocations: 281.4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.4732, allocations: 3.938 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4732, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.4732, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 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.0006386/0.4739, allocations: 0.5383 MB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.4739, allocations: 12.03 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.71e-05/0.474, allocations: 46.73 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.474, allocations: 32.56 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.4743, allocations: 264.9 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.4743, allocations: 12.38 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.4743, allocations: 12.38 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.4746, allocations: 228.6 kB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.4746, allocations: 0 / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.4747, allocations: 4 kB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4747, allocations: 4 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007688/0.4755, allocations: 0.7411 MB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007633/0.4762, allocations: 0.5781 MB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.4766, allocations: 223.4 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.4767, allocations: 104.8 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.4767, allocations: 19.95 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002729/0.477, allocations: 173.5 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.477, allocations: 0 / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.0005833/0.4776, allocations: 374.7 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.4777, allocations: 132.5 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.478, allocations: 308.9 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.478, allocations: 33.7 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.309e-05/0.4781, allocations: 128.7 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.43e-05/0.4781, allocations: 110.5 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.331e-05/0.4782, allocations: 57.69 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.4783, allocations: 338.8 kB / 1.026 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.4785, allocations: 83.95 kB / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.4787, allocations: 120.5 kB / 1.026 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.479, allocations: 213.2 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.479, allocations: 0 / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003935/0.4794, allocations: 269.3 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.4794, allocations: 4 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4794, allocations: 4 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.4794, allocations: 8 kB / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.4796, allocations: 59.84 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4796, allocations: 3.938 kB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.4798, allocations: 35.77 kB / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.4798, allocations: 11.98 kB / 1.026 GB, free: 8.863 MB / 0.7794 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.0001267/0.4799, allocations: 161.8 kB / 1.027 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/0.48, allocations: 27.62 kB / 1.027 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005951/0.4806, allocations: 381 kB / 1.027 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.4806, allocations: 4 kB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4806, allocations: 3.938 kB / 1.027 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4806, allocations: 0 / 1.027 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.4809, allocations: 329.3 kB / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4809, allocations: 0 / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.481, allocations: 55.91 kB / 1.027 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4811, allocations: 0 / 1.027 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.4811, allocations: 8 kB / 1.027 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4811, allocations: 0 / 1.027 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4811, allocations: 11.94 kB / 1.027 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004175/0.4815, allocations: 317.7 kB / 1.028 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.4816, allocations: 144.7 kB / 1.028 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.4817, allocations: 4 kB / 1.028 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.4818, allocations: 15.98 kB / 1.028 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.4819, allocations: 27.89 kB / 1.028 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.4819, allocations: 24 kB / 1.028 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001693/0.4821, allocations: 236.4 kB / 1.028 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4821, allocations: 0 / 1.028 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002578/0.4824, allocations: 59.91 kB / 1.028 GB, free: 6.992 MB / 0.7794 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.00138/0.4837, allocations: 1.152 MB / 1.029 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000447/0.4842, allocations: 295.7 kB / 1.03 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.4842, allocations: 0 / 1.03 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.4844, allocations: 127.8 kB / 1.03 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.4846, allocations: 41.09 kB / 1.03 GB, free: 5.504 MB / 0.7794 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.002418/0.4871, allocations: 2.432 MB / 1.032 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.4873, allocations: 0.7618 MB / 1.033 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002937/0.4876, allocations: 146.8 kB / 1.033 GB, free: 2.062 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.4878, allocations: 87.39 kB / 1.033 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.4878, allocations: 0 / 1.033 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5016/0.9894, allocations: 5.464 MB / 1.038 GB, free: 12.67 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.805/7.795, allocations: 14.22 kB / 1.038 GB, free: 12.66 MB / 0.795 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches