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.007516/0.007516, allocations: 99.81 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.343/2.343, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.83 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6786/0.6799, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002853/0.6828, allocations: 1.66 MB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.6845, allocations: 1.183 MB / 1.169 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.455e-05/0.6846, allocations: 0 / 1.169 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.6848, allocations: 19.86 kB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000289/0.6851, allocations: 69 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.6855, allocations: 150.2 kB / 1.169 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002872/0.6858, allocations: 253.5 kB / 1.169 GB, free: 432 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.6859, allocations: 19.98 kB / 1.169 GB, free: 412 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.686, allocations: 83.81 kB / 1.17 GB, free: 328 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.6862, allocations: 95.7 kB / 1.17 GB, free: 232 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.913e-05/0.6863, allocations: 16 kB / 1.17 GB, free: 216 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.6864, allocations: 79.97 kB / 1.17 GB, free: 136 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.452e-05/0.6865, allocations: 87.75 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.6867, allocations: 107.4 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.687, allocations: 294.4 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.687, allocations: 0 / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.724e-06/0.687, allocations: 3.938 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.6871, allocations: 0 / 1.17 GB, free: 15.66 MB / 0.9044 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.0007274/0.6878, allocations: 0.5419 MB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.6878, allocations: 8.922 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.632e-05/0.6879, allocations: 58.67 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.539e-05/0.688, allocations: 32.75 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.6883, allocations: 265 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.6883, allocations: 12.38 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.6883, allocations: 16.38 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.6887, allocations: 222.2 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.6887, allocations: 0 / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.6887, allocations: 8 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.6887, allocations: 8 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008009/0.6895, allocations: 0.7449 MB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008493/0.6904, allocations: 0.5667 MB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003482/0.6908, allocations: 227.5 kB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.6909, allocations: 100.8 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.445e-05/0.691, allocations: 23.95 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003275/0.6913, allocations: 174.1 kB / 1.173 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=33): time 3.527e-06/0.6913, allocations: 0 / 1.173 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.0006432/0.692, allocations: 374.8 kB / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.692, allocations: 132.5 kB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.6923, allocations: 304.9 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.6924, allocations: 37.7 kB / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.601e-05/0.6924, allocations: 120.7 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.579e-05/0.6925, allocations: 127 kB / 1.174 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-05/0.6926, allocations: 61.69 kB / 1.174 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.6927, allocations: 334.8 kB / 1.174 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.6929, allocations: 79.95 kB / 1.175 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.6931, allocations: 119.4 kB / 1.175 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.6934, allocations: 214.3 kB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6934, allocations: 4 kB / 1.175 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004298/0.6938, allocations: 269.4 kB / 1.175 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.6939, allocations: 4 kB / 1.175 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.6939, allocations: 0 / 1.175 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.6939, allocations: 4 kB / 1.175 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.6941, allocations: 59.91 kB / 1.175 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.6941, allocations: 7.938 kB / 1.175 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.6943, allocations: 27.83 kB / 1.175 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.6943, allocations: 11.94 kB / 1.175 GB, free: 10.15 MB / 0.9044 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.0001541/0.6945, allocations: 173.7 kB / 1.175 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/0.6945, allocations: 23.86 kB / 1.175 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000626/0.6952, allocations: 381 kB / 1.176 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.6952, allocations: 4 kB / 1.176 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6952, allocations: 7.875 kB / 1.176 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6952, allocations: 0 / 1.176 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.6955, allocations: 333.3 kB / 1.176 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.6955, allocations: 0 / 1.176 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.6957, allocations: 55.97 kB / 1.176 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.6957, allocations: 4 kB / 1.176 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.6957, allocations: 8 kB / 1.176 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.6957, allocations: 4 kB / 1.176 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.6957, allocations: 11.88 kB / 1.176 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004378/0.6962, allocations: 309.9 kB / 1.177 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.6963, allocations: 144.8 kB / 1.177 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/0.6964, allocations: 8 kB / 1.177 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.6965, allocations: 11.98 kB / 1.177 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.6966, allocations: 27.91 kB / 1.177 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.6966, allocations: 15.98 kB / 1.177 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001977/0.6968, allocations: 240.4 kB / 1.177 GB, free: 8.316 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6968, allocations: 0 / 1.177 GB, free: 8.316 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002925/0.6971, allocations: 55.94 kB / 1.177 GB, free: 8.262 MB / 0.9044 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.001521/0.6986, allocations: 1.152 MB / 1.178 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003775/0.699, allocations: 231.7 kB / 1.178 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6991, allocations: 0 / 1.178 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.6992, allocations: 123.9 kB / 1.178 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.6995, allocations: 38.17 kB / 1.179 GB, free: 6.84 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.7021, allocations: 2.447 MB / 1.181 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.7024, allocations: 0.7574 MB / 1.182 GB, free: 3.535 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003095/0.7027, allocations: 146.9 kB / 1.182 GB, free: 3.391 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.7028, allocations: 99.33 kB / 1.182 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.7028, allocations: 0 / 1.182 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.7245, allocations: 5.513 MB / 1.187 GB, free: 13.86 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.325/8.05, allocations: 9.062 kB / 1.187 GB, free: 13.86 MB / 0.92 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