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.008216/0.008216, allocations: 102.5 kB / 15.73 MB, free: 6.066 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.002108/0.002108, allocations: 197 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.475/2.475, allocations: 222.9 MB / 240.4 MB, free: 15.13 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 4.012/4.012, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 63.91 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7435/0.7455, allocations: 151.6 MB / 1.166 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002958/0.7485, allocations: 1.661 MB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001734/0.7502, allocations: 1.177 MB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.478e-05/0.7503, allocations: 0 / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002178/0.7505, allocations: 31.77 kB / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.7508, allocations: 63.7 kB / 1.169 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.7512, allocations: 150.9 kB / 1.169 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003153/0.7515, allocations: 245.5 kB / 1.169 GB, free: 412 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.7516, allocations: 23.98 kB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.7517, allocations: 83.81 kB / 1.169 GB, free: 304 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.7519, allocations: 103.6 kB / 1.17 GB, free: 200 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.752, allocations: 16 kB / 1.17 GB, free: 184 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.7521, allocations: 75.98 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.7522, allocations: 83.8 kB / 1.17 GB, free: 24 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.7524, allocations: 103.5 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003885/0.7528, allocations: 302.4 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.7528, allocations: 0 / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7528, allocations: 0 / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.7528, allocations: 0 / 1.17 GB, free: 15.63 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.0008216/0.7537, allocations: 0.5419 MB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.7537, allocations: 8.922 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.488e-05/0.7538, allocations: 58.67 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.811e-05/0.7539, allocations: 28.75 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.7542, allocations: 272.9 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.7542, allocations: 12.38 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.7542, allocations: 20.38 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.7546, allocations: 214.2 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.7546, allocations: 3.984 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.7547, allocations: 12 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.7547, allocations: 8 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009494/0.7557, allocations: 0.7372 MB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009422/0.7566, allocations: 0.5667 MB / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.757, allocations: 227.5 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.7572, allocations: 104.8 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.683e-05/0.7572, allocations: 19.95 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003649/0.7576, allocations: 174.1 kB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=33): time 1.664e-06/0.7576, allocations: 0 / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.0007026/0.7583, allocations: 374.9 kB / 1.173 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.7585, allocations: 132.5 kB / 1.174 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/0.7588, allocations: 312.9 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.7588, allocations: 29.7 kB / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.557e-05/0.7589, allocations: 124.7 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.7591, allocations: 115 kB / 1.174 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.7592, allocations: 61.69 kB / 1.174 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.7594, allocations: 342.8 kB / 1.174 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.7595, allocations: 75.95 kB / 1.175 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.7597, allocations: 123.4 kB / 1.175 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.7601, allocations: 206.4 kB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7601, allocations: 0 / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004615/0.7605, allocations: 277.3 kB / 1.175 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.7606, allocations: 7.984 kB / 1.175 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.7606, allocations: 4 kB / 1.175 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.7606, allocations: 4 kB / 1.175 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.7608, allocations: 51.97 kB / 1.175 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.7609, allocations: 11.88 kB / 1.175 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.761, allocations: 31.83 kB / 1.175 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.7611, allocations: 8 kB / 1.175 GB, free: 10.12 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.0001824/0.7612, allocations: 157.8 kB / 1.175 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.7613, allocations: 23.86 kB / 1.175 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007045/0.762, allocations: 388.8 kB / 1.176 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.762, allocations: 4 kB / 1.176 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.762, allocations: 7.938 kB / 1.176 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.7621, allocations: 3.984 kB / 1.176 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003609/0.7624, allocations: 329.3 kB / 1.176 GB, free: 9.156 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.7624, allocations: 0 / 1.176 GB, free: 9.156 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.7626, allocations: 63.91 kB / 1.176 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.7626, allocations: 0 / 1.176 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.7627, allocations: 11.98 kB / 1.176 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.7627, allocations: 4 kB / 1.176 GB, free: 9.078 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.7627, allocations: 3.938 kB / 1.176 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000497/0.7632, allocations: 310 kB / 1.177 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.7633, allocations: 148.8 kB / 1.177 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/0.7634, allocations: 8 kB / 1.177 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.7635, allocations: 18.09 kB / 1.177 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.7636, allocations: 27.84 kB / 1.177 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.7636, allocations: 12 kB / 1.177 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002313/0.7639, allocations: 236.4 kB / 1.177 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7639, allocations: 0 / 1.177 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002854/0.7642, allocations: 63.92 kB / 1.177 GB, free: 8.234 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.002116/0.7663, allocations: 1.152 MB / 1.178 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004117/0.7667, allocations: 223.8 kB / 1.178 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.7667, allocations: 0 / 1.178 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.7669, allocations: 127.8 kB / 1.178 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.7672, allocations: 47.09 kB / 1.179 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/0.7703, allocations: 2.442 MB / 1.181 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.7707, allocations: 0.7535 MB / 1.182 GB, free: 3.52 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000343/0.771, allocations: 154.8 kB / 1.182 GB, free: 3.367 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.7712, allocations: 87.39 kB / 1.182 GB, free: 3.281 MB / 0.9044 GB Notification: Performance of SimCode: time 5.21e-07/0.7712, allocations: 4 kB / 1.182 GB, free: 3.277 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03237/0.8036, allocations: 5.518 MB / 1.187 GB, free: 13.83 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/11.21, allocations: 9.422 kB / 1.187 GB, free: 13.83 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