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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 108 kB / 15.61 MB, free: 152 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.001027/0.001027, allocations: 194 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.193/1.193, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.443/2.443, allocations: 469.4 MB / 0.742 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 62.27 kB / 0.9083 GB, free: 34.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2367, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002609/0.2394, allocations: 1.668 MB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.2407, allocations: 1.168 MB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.908e-05/0.2408, allocations: 4 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.241, allocations: 27.78 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.2412, allocations: 71.56 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.2415, allocations: 151 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.2417, allocations: 241.6 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.395e-05/0.2418, allocations: 12 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.998e-05/0.2419, allocations: 87.75 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.2421, allocations: 95.7 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.2422, allocations: 20 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.2423, allocations: 79.97 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.709e-05/0.2424, allocations: 83.8 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.252e-05/0.2425, allocations: 107.3 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.2427, allocations: 287.3 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.2428, allocations: 0 / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2428, allocations: 4 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2428, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8262 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.0006327/0.2434, allocations: 0.5422 MB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.2435, allocations: 15.97 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.512e-05/0.2435, allocations: 50.73 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.234e-05/0.2436, allocations: 24.66 kB / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.2438, allocations: 268.8 kB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.2438, allocations: 12.38 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.2439, allocations: 12.38 kB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.2442, allocations: 224.6 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.2442, allocations: 4 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.2442, allocations: 4 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.2442, allocations: 4 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007356/0.2449, allocations: 0.7466 MB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000733/0.2457, allocations: 0.5702 MB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/0.246, allocations: 236.7 kB / 1.07 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.2462, allocations: 96.81 kB / 1.07 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.573e-05/0.2462, allocations: 23.95 kB / 1.07 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002694/0.2465, allocations: 173.5 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.2465, allocations: 0 / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.0005774/0.2471, allocations: 366.8 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.2471, allocations: 136.5 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.2474, allocations: 308.9 kB / 1.071 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.2474, allocations: 33.7 kB / 1.071 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.2475, allocations: 124.7 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.53e-05/0.2476, allocations: 110.4 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.776e-05/0.2476, allocations: 65.69 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.261e-05/0.2477, allocations: 330.8 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.2479, allocations: 83.89 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.248, allocations: 132.4 kB / 1.072 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.2483, allocations: 208.7 kB / 1.072 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2483, allocations: 0 / 1.072 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003776/0.2487, allocations: 269.8 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.2487, allocations: 4 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2487, allocations: 0 / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2487, allocations: 4 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.2489, allocations: 59.91 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.249, allocations: 7.938 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.2491, allocations: 32.44 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.2491, allocations: 12 kB / 1.073 GB, free: 4.906 MB / 0.8262 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.0001263/0.2493, allocations: 161.7 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.73e-05/0.2493, allocations: 23.72 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005814/0.2499, allocations: 376.8 kB / 1.073 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.2499, allocations: 11.94 kB / 1.073 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2499, allocations: 3.938 kB / 1.073 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2499, allocations: 0 / 1.073 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.2502, allocations: 333.3 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2502, allocations: 0 / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.2504, allocations: 55.91 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2504, allocations: 0 / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.2504, allocations: 8 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2504, allocations: 4 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2504, allocations: 3.938 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.2508, allocations: 322.2 kB / 1.074 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.2509, allocations: 140.7 kB / 1.074 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.251, allocations: 8 kB / 1.074 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.2511, allocations: 11.98 kB / 1.074 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.2512, allocations: 31.91 kB / 1.074 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.2512, allocations: 15.98 kB / 1.074 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001673/0.2514, allocations: 228.5 kB / 1.074 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2514, allocations: 4 kB / 1.074 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002602/0.2516, allocations: 67.92 kB / 1.074 GB, free: 3.035 MB / 0.8262 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.001336/0.253, allocations: 1.158 MB / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004361/0.2534, allocations: 291.7 kB / 1.076 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2534, allocations: 0 / 1.076 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.2536, allocations: 132.7 kB / 1.076 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.2539, allocations: 33.55 kB / 1.076 GB, free: 1.551 MB / 0.8262 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.002458/0.2563, allocations: 2.434 MB / 1.078 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.2566, allocations: 0.7579 MB / 1.079 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000286/0.2569, allocations: 146.8 kB / 1.079 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.257, allocations: 91.39 kB / 1.079 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.257, allocations: 0 / 1.079 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5141/0.7712, allocations: 5.466 MB / 1.085 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.65/7.421, allocations: 8.625 kB / 1.085 GB, free: 8.699 MB / 0.8419 GB (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 50 --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) 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) Reference file matches