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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.007145/0.007145, allocations: 96.25 kB / 15.73 MB, free: 6.047 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.001645/0.001645, allocations: 195.8 kB / 16.67 MB, free: 5.965 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.686/2.686, allocations: 469.4 MB / 0.7422 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.91 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2645, allocations: 159.1 MB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.0027/0.2672, allocations: 1.643 MB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.2688, allocations: 1.194 MB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.857e-05/0.2689, allocations: 0 / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.2691, allocations: 19.86 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.2694, allocations: 75.61 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.2698, allocations: 144.8 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002856/0.27, allocations: 253.5 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.087e-05/0.2701, allocations: 23.97 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.2703, allocations: 79.83 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.2705, allocations: 99.7 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.2705, allocations: 16 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.2707, allocations: 79.95 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.735e-05/0.2707, allocations: 79.75 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.2709, allocations: 115.3 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.2712, allocations: 298.8 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2712, allocations: 3.984 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2712, allocations: 0 / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.2712, allocations: 0 / 1.224 GB, free: 10.52 MB / 0.9825 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.0007169/0.272, allocations: 0.5418 MB / 1.224 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.272, allocations: 12.02 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.197e-05/0.2721, allocations: 46.75 kB / 1.224 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.09e-05/0.2722, allocations: 32.73 kB / 1.224 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.2724, allocations: 269 kB / 1.225 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.2725, allocations: 16.38 kB / 1.225 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.2725, allocations: 12.38 kB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.2729, allocations: 226.2 kB / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2729, allocations: 0 / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.2729, allocations: 7.984 kB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.2729, allocations: 4 kB / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008325/0.2738, allocations: 0.7412 MB / 1.226 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008794/0.2746, allocations: 0.5706 MB / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/0.275, allocations: 228 kB / 1.226 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.2752, allocations: 104.8 kB / 1.226 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.2752, allocations: 19.95 kB / 1.227 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003157/0.2755, allocations: 177.5 kB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 3.086e-06/0.2756, allocations: 0 / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.0006459/0.2762, allocations: 370.9 kB / 1.227 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.2763, allocations: 132.5 kB / 1.227 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.2766, allocations: 304.9 kB / 1.227 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.2766, allocations: 33.7 kB / 1.227 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.334e-05/0.2767, allocations: 132.7 kB / 1.228 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.239e-05/0.2768, allocations: 115.1 kB / 1.228 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.254e-05/0.2769, allocations: 61.69 kB / 1.228 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.277, allocations: 338.8 kB / 1.228 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.2771, allocations: 79.95 kB / 1.228 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.2773, allocations: 124.4 kB / 1.228 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.2777, allocations: 208.7 kB / 1.228 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2777, allocations: 0 / 1.228 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004499/0.2781, allocations: 277.9 kB / 1.229 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2782, allocations: 6.188 kB / 1.229 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.2782, allocations: 0 / 1.229 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2782, allocations: 7.938 kB / 1.229 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.2784, allocations: 55.91 kB / 1.229 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.2784, allocations: 7.938 kB / 1.229 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.2786, allocations: 27.88 kB / 1.229 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.2786, allocations: 19.97 kB / 1.229 GB, free: 4.988 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.0001432/0.2788, allocations: 165.8 kB / 1.229 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.2788, allocations: 23.86 kB / 1.229 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006453/0.2795, allocations: 376.8 kB / 1.229 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.2795, allocations: 4 kB / 1.229 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2795, allocations: 7.875 kB / 1.229 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.2795, allocations: 0 / 1.229 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.2798, allocations: 333.3 kB / 1.23 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2798, allocations: 0 / 1.23 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.28, allocations: 51.97 kB / 1.23 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.28, allocations: 0 / 1.23 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.28, allocations: 8 kB / 1.23 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.28, allocations: 0 / 1.23 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.28, allocations: 11.88 kB / 1.23 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004515/0.2805, allocations: 318.5 kB / 1.23 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.2806, allocations: 144.8 kB / 1.23 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.2807, allocations: 12 kB / 1.23 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.2808, allocations: 11.98 kB / 1.23 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.2809, allocations: 31.83 kB / 1.23 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.2809, allocations: 16 kB / 1.23 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001986/0.2811, allocations: 236.4 kB / 1.231 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.91e-07/0.2811, allocations: 4 kB / 1.231 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002927/0.2814, allocations: 52 kB / 1.231 GB, free: 3.117 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.001526/0.283, allocations: 1.147 MB / 1.232 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003893/0.2834, allocations: 227.7 kB / 1.232 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2834, allocations: 4 kB / 1.232 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.2836, allocations: 120.7 kB / 1.232 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.2839, allocations: 41.91 kB / 1.232 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.2865, allocations: 2.446 MB / 1.234 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.2868, allocations: 0.7612 MB / 1.235 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000316/0.2871, allocations: 142.9 kB / 1.235 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.2873, allocations: 95.33 kB / 1.235 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.2873, allocations: 0 / 1.235 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.309, allocations: 5.529 MB / 1.241 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.498/7.807, allocations: 7.547 kB / 1.241 GB, free: 8.762 MB / 0.9981 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