Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_9_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.005506/0.005506, allocations: 104.8 kB / 15.74 MB, free: 6.496 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.001329/0.00133, allocations: 197.2 kB / 16.68 MB, free: 6.371 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.232/2.232, allocations: 390.3 MB / 0.6648 GB, free: 140 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 58.47 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2569, allocations: 140.4 MB / 1.087 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003087/0.26, allocations: 1.662 MB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.2617, allocations: 1.168 MB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.878e-05/0.2618, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.2621, allocations: 19.8 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.2624, allocations: 79.53 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.2628, allocations: 157.4 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002901/0.2631, allocations: 237.6 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.2632, allocations: 30.78 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.2633, allocations: 79.77 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.2636, allocations: 99.7 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.106e-05/0.2636, allocations: 16 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.2638, allocations: 79.97 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.233e-05/0.2639, allocations: 79.81 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.264, allocations: 111.3 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.2643, allocations: 291.1 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2644, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2644, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.2644, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 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.0007546/0.2651, allocations: 0.5467 MB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2652, allocations: 11.97 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.355e-05/0.2652, allocations: 54.73 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.28e-05/0.2653, allocations: 24.66 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.2656, allocations: 268.5 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.2657, allocations: 12.38 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.2657, allocations: 20.36 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003443/0.266, allocations: 220.7 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.2661, allocations: 0 / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.2661, allocations: 8 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2661, allocations: 7.938 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008221/0.2669, allocations: 0.741 MB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008805/0.2678, allocations: 0.5666 MB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.2682, allocations: 232.4 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.2684, allocations: 104.8 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.52e-05/0.2684, allocations: 19.97 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003578/0.2688, allocations: 173.5 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.2688, allocations: 0 / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33): time 0.0006832/0.2695, allocations: 367.6 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.885e-05/0.2696, allocations: 136.5 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.2699, allocations: 300.9 kB / 1.095 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.2699, allocations: 33.7 kB / 1.095 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.504e-05/0.27, allocations: 140.6 kB / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.101e-05/0.2701, allocations: 106.5 kB / 1.095 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.828e-05/0.2702, allocations: 61.69 kB / 1.095 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.2704, allocations: 334.8 kB / 1.096 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.2705, allocations: 79.95 kB / 1.096 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.2707, allocations: 123.6 kB / 1.096 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.271, allocations: 208.7 kB / 1.096 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.271, allocations: 3.938 kB / 1.096 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004336/0.2715, allocations: 277.7 kB / 1.096 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2715, allocations: 4 kB / 1.096 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2715, allocations: 0 / 1.096 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.2715, allocations: 4 kB / 1.096 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.2717, allocations: 55.91 kB / 1.097 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.2718, allocations: 7.938 kB / 1.097 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.2719, allocations: 31.73 kB / 1.097 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.2719, allocations: 11.98 kB / 1.097 GB, free: 8.348 MB / 0.8575 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.0001431/0.2721, allocations: 165.8 kB / 1.097 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/0.2722, allocations: 23.77 kB / 1.097 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006405/0.2728, allocations: 376.7 kB / 1.097 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.2728, allocations: 7.938 kB / 1.097 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2728, allocations: 3.938 kB / 1.097 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2728, allocations: 0 / 1.097 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.2731, allocations: 329.3 kB / 1.097 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2731, allocations: 0 / 1.097 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.2733, allocations: 55.91 kB / 1.097 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.2733, allocations: 0 / 1.097 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.2733, allocations: 11.98 kB / 1.098 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.2734, allocations: 12 kB / 1.098 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2734, allocations: 3.938 kB / 1.098 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004601/0.2738, allocations: 322.2 kB / 1.098 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.274, allocations: 144.6 kB / 1.098 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.274, allocations: 8 kB / 1.098 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.2742, allocations: 11.98 kB / 1.098 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.149e-05/0.2743, allocations: 27.89 kB / 1.098 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.2743, allocations: 20 kB / 1.098 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002038/0.2745, allocations: 236.4 kB / 1.098 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2745, allocations: 0 / 1.098 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002856/0.2748, allocations: 52 kB / 1.098 GB, free: 6.477 MB / 0.8575 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.001498/0.2763, allocations: 1.145 MB / 1.099 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003952/0.2767, allocations: 224.3 kB / 1.1 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2767, allocations: 0 / 1.1 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.2769, allocations: 128.3 kB / 1.1 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.2772, allocations: 40.58 kB / 1.1 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.2798, allocations: 2.437 MB / 1.102 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.2802, allocations: 0.7579 MB / 1.103 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003201/0.2805, allocations: 142.9 kB / 1.103 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.2806, allocations: 87.39 kB / 1.103 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of SimCode: time 1.723e-06/0.2806, allocations: 0 / 1.103 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.3045, allocations: 5.53 MB / 1.109 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.42/7.725, allocations: 7.859 kB / 1.109 GB, free: 12.07 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches