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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.004478/0.004478, allocations: 100.3 kB / 15.73 MB, free: 6.012 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.001308/0.001308, allocations: 191.9 kB / 16.67 MB, free: 5.934 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.778/2.778, allocations: 482.4 MB / 0.7548 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 60.56 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2762, allocations: 162.2 MB / 1.241 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002948/0.2792, allocations: 1.656 MB / 1.243 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001703/0.2809, allocations: 1.183 MB / 1.244 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.13e-05/0.281, allocations: 0 / 1.244 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.2812, allocations: 23.84 kB / 1.244 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002393/0.2814, allocations: 63.62 kB / 1.244 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.2818, allocations: 158.8 kB / 1.244 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003036/0.2821, allocations: 245.5 kB / 1.245 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.686e-05/0.2822, allocations: 24.27 kB / 1.245 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.2824, allocations: 87.8 kB / 1.245 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.2826, allocations: 91.72 kB / 1.245 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.443e-05/0.2826, allocations: 23.98 kB / 1.245 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.2828, allocations: 71.98 kB / 1.245 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.2829, allocations: 83.73 kB / 1.245 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.283, allocations: 107.4 kB / 1.245 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003638/0.2834, allocations: 294.7 kB / 1.245 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2834, allocations: 0 / 1.245 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2834, allocations: 4 kB / 1.245 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2834, allocations: 0 / 1.245 GB, free: 5.312 MB / 0.9669 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.0008034/0.2842, allocations: 0.5458 MB / 1.246 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.2843, allocations: 8.031 kB / 1.246 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.903e-05/0.2843, allocations: 50.73 kB / 1.246 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.863e-05/0.2844, allocations: 28.75 kB / 1.246 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.2847, allocations: 280.7 kB / 1.246 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.2848, allocations: 12.38 kB / 1.246 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.2848, allocations: 12.38 kB / 1.246 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.2852, allocations: 228.6 kB / 1.247 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.2852, allocations: 0 / 1.247 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.2852, allocations: 4 kB / 1.247 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.2852, allocations: 4 kB / 1.247 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009809/0.2862, allocations: 0.7411 MB / 1.247 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009112/0.2871, allocations: 0.5706 MB / 1.248 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/0.2876, allocations: 235.4 kB / 1.248 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.2877, allocations: 96.81 kB / 1.248 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.688e-05/0.2878, allocations: 19.97 kB / 1.248 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000339/0.2881, allocations: 181.4 kB / 1.248 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 1.693e-06/0.2881, allocations: 0 / 1.248 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.0007071/0.2888, allocations: 367.5 kB / 1.249 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.224e-05/0.2889, allocations: 132.5 kB / 1.249 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/0.2893, allocations: 308.9 kB / 1.249 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.2893, allocations: 33.7 kB / 1.249 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.226e-05/0.2894, allocations: 124.7 kB / 1.249 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.2895, allocations: 111 kB / 1.249 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.86e-05/0.2896, allocations: 69.69 kB / 1.249 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.2898, allocations: 334.8 kB / 1.25 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.29, allocations: 83.89 kB / 1.25 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.2902, allocations: 128.4 kB / 1.25 GB, free: 392 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/0.2905, allocations: 204.7 kB / 1.25 GB, free: 184 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2905, allocations: 0 / 1.25 GB, free: 184 kB / 0.9669 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004851/0.291, allocations: 269.9 kB / 1.25 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.291, allocations: 8 kB / 1.25 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2911, allocations: 3.984 kB / 1.25 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.2911, allocations: 0 / 1.25 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.2913, allocations: 63.91 kB / 1.251 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.2913, allocations: 3.938 kB / 1.251 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.2915, allocations: 34.16 kB / 1.251 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.2915, allocations: 16 kB / 1.251 GB, free: 15.79 MB / 0.9825 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.0001645/0.2917, allocations: 153.8 kB / 1.251 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.409e-05/0.2917, allocations: 31.86 kB / 1.251 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007362/0.2925, allocations: 380.7 kB / 1.251 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2925, allocations: 8 kB / 1.251 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2925, allocations: 3.938 kB / 1.251 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.2925, allocations: 3.984 kB / 1.251 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.2929, allocations: 321.4 kB / 1.251 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2929, allocations: 4 kB / 1.251 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.2931, allocations: 55.91 kB / 1.251 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2931, allocations: 7.938 kB / 1.251 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.2931, allocations: 11.98 kB / 1.252 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2931, allocations: 0 / 1.252 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.2931, allocations: 3.938 kB / 1.252 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004984/0.2936, allocations: 310.5 kB / 1.252 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.2938, allocations: 152.8 kB / 1.252 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.2938, allocations: 4 kB / 1.252 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.294, allocations: 16.03 kB / 1.252 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.2941, allocations: 31.89 kB / 1.252 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.2941, allocations: 16 kB / 1.252 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002333/0.2943, allocations: 232.4 kB / 1.252 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2944, allocations: 7.938 kB / 1.252 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002893/0.2946, allocations: 59.94 kB / 1.252 GB, free: 13.9 MB / 0.9825 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.002158/0.2968, allocations: 1.144 MB / 1.253 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004147/0.2972, allocations: 227.8 kB / 1.254 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.2973, allocations: 4 kB / 1.254 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.2975, allocations: 128.6 kB / 1.254 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.2977, allocations: 36.59 kB / 1.254 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.3007, allocations: 2.438 MB / 1.256 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.3012, allocations: 0.7574 MB / 1.257 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003316/0.3015, allocations: 146.9 kB / 1.257 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.3017, allocations: 95.39 kB / 1.257 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3017, allocations: 3.938 kB / 1.257 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02925/0.3309, allocations: 5.517 MB / 1.263 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.96/8.291, allocations: 7.984 kB / 1.263 GB, free: 3.555 MB / 0.9825 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 400 --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