Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.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.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_Pressure",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.006781/0.006781, allocations: 100.7 kB / 15.73 MB, free: 5.988 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.001463/0.001463, allocations: 197 kB / 16.67 MB, free: 5.926 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.195 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.378/2.378, allocations: 390.3 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 70.88 kB / 0.9504 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2667, allocations: 140.4 MB / 1.087 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1845/0.4512, allocations: 169.5 MB / 1.253 GB, free: 7.91 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00963/0.4609, allocations: 7.313 MB / 1.26 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005945/0.4615, allocations: 11.94 kB / 1.26 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008446/0.4623, allocations: 206.6 kB / 1.26 GB, free: 368 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.6242/1.087, allocations: 0.5692 MB / 1.261 GB, free: 3.473 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/1.088, allocations: 433.6 kB / 1.261 GB, free: 3.473 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000939/1.089, allocations: 0.7036 MB / 1.262 GB, free: 3.473 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004173/1.089, allocations: 268.9 kB / 1.262 GB, free: 3.469 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006798/1.09, allocations: 379.1 kB / 1.263 GB, free: 3.469 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/1.09, allocations: 212.8 kB / 1.263 GB, free: 3.469 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.191e-05/1.09, allocations: 20.97 kB / 1.263 GB, free: 3.469 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/1.092, allocations: 0.7025 MB / 1.264 GB, free: 3.469 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001484/1.092, allocations: 108.2 kB / 1.264 GB, free: 3.469 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001817/1.092, allocations: 156.7 kB / 1.264 GB, free: 3.469 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009159/1.093, allocations: 0.5764 MB / 1.264 GB, free: 3.449 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/1.093, allocations: 0.75 kB / 1.264 GB, free: 3.449 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.323e-06/1.093, allocations: 0.9375 kB / 1.264 GB, free: 3.449 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.745e-06/1.093, allocations: 0.6562 kB / 1.264 GB, free: 3.449 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008573/1.094, allocations: 0.64 MB / 1.265 GB, free: 2.965 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/1.094, allocations: 10.78 kB / 1.265 GB, free: 2.965 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.442e-05/1.094, allocations: 60.38 kB / 1.265 GB, free: 2.926 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003505/1.094, allocations: 59.36 kB / 1.265 GB, free: 2.91 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004783/1.095, allocations: 322.2 kB / 1.265 GB, free: 2.676 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/1.095, allocations: 20.78 kB / 1.265 GB, free: 2.676 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/1.095, allocations: 24.25 kB / 1.265 GB, free: 2.676 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004939/1.095, allocations: 302.2 kB / 1.266 GB, free: 2.555 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/1.095, allocations: 3.688 kB / 1.266 GB, free: 2.555 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/1.095, allocations: 10.72 kB / 1.266 GB, free: 2.555 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/1.095, allocations: 6.75 kB / 1.266 GB, free: 2.555 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003946/1.096, allocations: 175 kB / 1.266 GB, free: 2.555 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/1.097, allocations: 1.702 MB / 1.268 GB, free: 17.26 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/1.098, allocations: 88.86 kB / 1.268 GB, free: 17.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/1.098, allocations: 81.81 kB / 1.268 GB, free: 17.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002588/1.098, allocations: 187.4 kB / 1.268 GB, free: 17.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/1.098, allocations: 32.19 kB / 1.268 GB, free: 17 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/1.098, allocations: 1.875 kB / 1.268 GB, free: 17 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0006905/1.099, allocations: 221.3 kB / 1.268 GB, free: 16.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/1.099, allocations: 59.39 kB / 1.268 GB, free: 16.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/1.099, allocations: 322.4 kB / 1.269 GB, free: 16.78 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/1.099, allocations: 32.17 kB / 1.269 GB, free: 16.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/1.099, allocations: 199.1 kB / 1.269 GB, free: 16.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/1.099, allocations: 36.91 kB / 1.269 GB, free: 16.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.355e-05/1.099, allocations: 48.28 kB / 1.269 GB, free: 16.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.1, allocations: 338.8 kB / 1.269 GB, free: 16.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/1.1, allocations: 60.23 kB / 1.269 GB, free: 16.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/1.1, allocations: 197.2 kB / 1.269 GB, free: 16.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/1.1, allocations: 234.1 kB / 1.27 GB, free: 15.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/1.1, allocations: 1.719 kB / 1.27 GB, free: 15.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005002/1.101, allocations: 257.4 kB / 1.27 GB, free: 15.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.101, allocations: 6.781 kB / 1.27 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/1.101, allocations: 4.531 kB / 1.27 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/1.101, allocations: 5.656 kB / 1.27 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/1.101, allocations: 50.39 kB / 1.27 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/1.101, allocations: 12.28 kB / 1.27 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/1.101, allocations: 39.92 kB / 1.27 GB, free: 15.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/1.101, allocations: 13.41 kB / 1.27 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002378/1.102, allocations: 174.5 kB / 1.27 GB, free: 15.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002205/1.102, allocations: 198.5 kB / 1.27 GB, free: 15.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003366/1.102, allocations: 234.5 kB / 1.271 GB, free: 15.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/1.102, allocations: 0.6562 kB / 1.271 GB, free: 15.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004855/1.103, allocations: 251.6 kB / 1.271 GB, free: 15.51 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/1.103, allocations: 7.812 kB / 1.271 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.103, allocations: 5.859 kB / 1.271 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.214e-06/1.103, allocations: 4.875 kB / 1.271 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/1.103, allocations: 48.97 kB / 1.271 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/1.103, allocations: 6.562 kB / 1.271 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/1.103, allocations: 29.73 kB / 1.271 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/1.103, allocations: 11.97 kB / 1.271 GB, free: 15.5 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.000114/1.103, allocations: 202.7 kB / 1.271 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.118e-05/1.103, allocations: 29.91 kB / 1.271 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003953/1.104, allocations: 166.2 kB / 1.271 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/1.104, allocations: 1.438 kB / 1.271 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.104, allocations: 5.5 kB / 1.271 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/1.104, allocations: 1.516 kB / 1.271 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009038/1.105, allocations: 0.6098 MB / 1.272 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.105, allocations: 1.375 kB / 1.272 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/1.105, allocations: 25.41 kB / 1.272 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/1.105, allocations: 3.125 kB / 1.272 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/1.105, allocations: 9.375 kB / 1.272 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/1.105, allocations: 2.344 kB / 1.272 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.105, allocations: 7.594 kB / 1.272 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/1.105, allocations: 302.4 kB / 1.272 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/1.106, allocations: 117.3 kB / 1.272 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/1.106, allocations: 5.75 kB / 1.272 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/1.106, allocations: 10.33 kB / 1.272 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/1.106, allocations: 17.3 kB / 1.272 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/1.106, allocations: 5 kB / 1.272 GB, free: 14.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002625/1.106, allocations: 228.7 kB / 1.273 GB, free: 14.51 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.106, allocations: 0 / 1.273 GB, free: 14.51 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006301/1.107, allocations: 128 kB / 1.273 GB, free: 14.5 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001011/1.108, allocations: 0.9013 MB / 1.274 GB, free: 13.76 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006606/1.108, allocations: 252.4 kB / 1.274 GB, free: 13.76 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.108, allocations: 0.8125 kB / 1.274 GB, free: 13.76 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/1.109, allocations: 63.41 kB / 1.274 GB, free: 13.76 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000781/1.109, allocations: 136 kB / 1.274 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003819/1.113, allocations: 2.791 MB / 1.277 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/1.114, allocations: 0.7756 MB / 1.278 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003054/1.114, allocations: 86.23 kB / 1.278 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/1.114, allocations: 90.27 kB / 1.278 GB, free: 11.38 MB / 1.029 GB Notification: Performance of SimCode: time 1.472e-06/1.114, allocations: 0 / 1.278 GB, free: 11.38 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/1.142, allocations: 7.916 MB / 1.285 GB, free: 10.75 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/8.993, allocations: 12.55 kB / 1.285 GB, free: 10.75 MB / 1.029 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches