Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_10_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.007117/0.007118, allocations: 99.41 kB / 15.73 MB, free: 6.008 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.001566/0.001566, allocations: 191.1 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.569/2.569, allocations: 437 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 67.84 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7942/0.7957, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1698/0.9655, allocations: 169.5 MB / 1.332 GB, free: 9.652 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.008471/0.974, allocations: 7.317 MB / 1.339 GB, free: 2.312 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000529/0.9745, allocations: 11.94 kB / 1.339 GB, free: 2.301 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007606/0.9753, allocations: 218.5 kB / 1.339 GB, free: 2.086 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.9769, allocations: 0.5951 MB / 1.34 GB, free: 1.488 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.9781, allocations: 435 kB / 1.34 GB, free: 1.066 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0009946/0.9791, allocations: 0.7129 MB / 1.341 GB, free: 360 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004519/0.9796, allocations: 263.1 kB / 1.341 GB, free: 96 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007858/0.9804, allocations: 390.6 kB / 1.341 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003293/0.9807, allocations: 207.1 kB / 1.342 GB, free: 15.51 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.733e-05/0.9808, allocations: 23.94 kB / 1.342 GB, free: 15.48 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.982, allocations: 0.7054 MB / 1.342 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.9821, allocations: 111.7 kB / 1.342 GB, free: 14.67 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.9823, allocations: 163.2 kB / 1.343 GB, free: 14.51 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.9834, allocations: 0.5719 MB / 1.343 GB, free: 13.94 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.9834, allocations: 0 / 1.343 GB, free: 13.94 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9834, allocations: 0 / 1.343 GB, free: 13.94 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.9834, allocations: 0 / 1.343 GB, free: 13.94 MB / 1.076 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.000992/0.9844, allocations: 0.6498 MB / 1.344 GB, free: 13.24 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.9844, allocations: 12.92 kB / 1.344 GB, free: 13.23 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.127e-05/0.9845, allocations: 66.48 kB / 1.344 GB, free: 13.15 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003659/0.9849, allocations: 63.72 kB / 1.344 GB, free: 13.09 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.9854, allocations: 310.4 kB / 1.344 GB, free: 12.75 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.9854, allocations: 24.44 kB / 1.344 GB, free: 12.72 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.9855, allocations: 24 kB / 1.344 GB, free: 12.7 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004868/0.986, allocations: 308.5 kB / 1.344 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.986, allocations: 3.938 kB / 1.344 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.986, allocations: 12 kB / 1.345 GB, free: 12.34 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.9861, allocations: 4 kB / 1.345 GB, free: 12.34 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004161/0.9865, allocations: 171.8 kB / 1.345 GB, free: 12.17 MB / 1.076 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.001676/0.9882, allocations: 1.702 MB / 1.346 GB, free: 10.35 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.9884, allocations: 86.61 kB / 1.346 GB, free: 10.26 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.9886, allocations: 84.73 kB / 1.346 GB, free: 10.17 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002536/0.9888, allocations: 190.2 kB / 1.347 GB, free: 9.949 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.9889, allocations: 30.56 kB / 1.347 GB, free: 9.91 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.9889, allocations: 0 / 1.347 GB, free: 9.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0006717/0.9896, allocations: 233.3 kB / 1.347 GB, free: 9.676 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.9896, allocations: 55.34 kB / 1.347 GB, free: 9.609 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003142/0.9899, allocations: 320.5 kB / 1.347 GB, free: 9.289 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.99, allocations: 29.7 kB / 1.347 GB, free: 9.254 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.9901, allocations: 196.1 kB / 1.348 GB, free: 9.059 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.749e-05/0.9902, allocations: 47.64 kB / 1.348 GB, free: 9.012 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.389e-05/0.9902, allocations: 45.7 kB / 1.348 GB, free: 8.961 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.9904, allocations: 342.8 kB / 1.348 GB, free: 8.617 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.9905, allocations: 64.81 kB / 1.348 GB, free: 8.551 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.9908, allocations: 195.7 kB / 1.348 GB, free: 8.301 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003557/0.9911, allocations: 229.5 kB / 1.348 GB, free: 8.027 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.9912, allocations: 4 kB / 1.348 GB, free: 8.023 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004718/0.9916, allocations: 265 kB / 1.349 GB, free: 7.758 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.9917, allocations: 6.812 kB / 1.349 GB, free: 7.754 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.9917, allocations: 4 kB / 1.349 GB, free: 7.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.9917, allocations: 4 kB / 1.349 GB, free: 7.746 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.9919, allocations: 43.92 kB / 1.349 GB, free: 7.703 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.9919, allocations: 8.391 kB / 1.349 GB, free: 7.695 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.9921, allocations: 43.77 kB / 1.349 GB, free: 7.652 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.9922, allocations: 12 kB / 1.349 GB, free: 7.641 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002172/0.9924, allocations: 168.1 kB / 1.349 GB, free: 7.473 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002172/0.9926, allocations: 193.2 kB / 1.349 GB, free: 7.223 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003263/0.993, allocations: 229.6 kB / 1.349 GB, free: 6.949 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.025e-06/0.993, allocations: 3.984 kB / 1.349 GB, free: 6.945 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004477/0.9934, allocations: 257 kB / 1.35 GB, free: 6.688 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.9934, allocations: 8 kB / 1.35 GB, free: 6.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.9935, allocations: 7.938 kB / 1.35 GB, free: 6.672 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.9935, allocations: 7.938 kB / 1.35 GB, free: 6.664 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.9936, allocations: 47.97 kB / 1.35 GB, free: 6.617 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.9937, allocations: 8.344 kB / 1.35 GB, free: 6.609 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.9939, allocations: 27.94 kB / 1.35 GB, free: 6.582 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.9939, allocations: 12 kB / 1.35 GB, free: 6.57 MB / 1.076 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.0001024/0.994, allocations: 196.1 kB / 1.35 GB, free: 6.371 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/0.9941, allocations: 39.75 kB / 1.35 GB, free: 6.332 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003747/0.9945, allocations: 160.9 kB / 1.35 GB, free: 6.168 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.9945, allocations: 0 / 1.35 GB, free: 6.168 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.9945, allocations: 4 kB / 1.35 GB, free: 6.164 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.9945, allocations: 0 / 1.35 GB, free: 6.164 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008545/0.9954, allocations: 0.6132 MB / 1.351 GB, free: 5.473 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.9954, allocations: 8 kB / 1.351 GB, free: 5.465 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.9955, allocations: 23.97 kB / 1.351 GB, free: 5.441 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.9955, allocations: 4 kB / 1.351 GB, free: 5.438 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.9955, allocations: 11.94 kB / 1.351 GB, free: 5.426 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.9955, allocations: 7.875 kB / 1.351 GB, free: 5.418 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.9955, allocations: 7.938 kB / 1.351 GB, free: 5.41 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.9959, allocations: 301.5 kB / 1.351 GB, free: 5.078 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.823e-05/0.996, allocations: 120.9 kB / 1.351 GB, free: 4.941 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.9961, allocations: 4 kB / 1.351 GB, free: 4.938 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.9963, allocations: 11.98 kB / 1.351 GB, free: 4.926 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.9963, allocations: 11.94 kB / 1.351 GB, free: 4.914 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.9963, allocations: 7.984 kB / 1.351 GB, free: 4.906 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002144/0.9966, allocations: 223.1 kB / 1.351 GB, free: 4.688 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9966, allocations: 4 kB / 1.351 GB, free: 4.684 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005596/0.9971, allocations: 135.8 kB / 1.352 GB, free: 4.551 MB / 1.076 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.000882/0.998, allocations: 0.8993 MB / 1.352 GB, free: 3.613 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005749/0.9986, allocations: 247.7 kB / 1.353 GB, free: 3.371 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.9986, allocations: 1.438 kB / 1.353 GB, free: 3.371 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.9988, allocations: 64.28 kB / 1.353 GB, free: 3.309 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007324/0.9995, allocations: 133.3 kB / 1.353 GB, free: 3.18 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003287/1.003, allocations: 2.814 MB / 1.356 GB, free: 160 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/1.003, allocations: 0.7833 MB / 1.356 GB, free: 15.35 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002529/1.003, allocations: 79.55 kB / 1.356 GB, free: 15.27 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/1.004, allocations: 91.41 kB / 1.356 GB, free: 15.18 MB / 1.092 GB Notification: Performance of SimCode: time 2.7e-07/1.004, allocations: 4 kB / 1.356 GB, free: 15.17 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/1.028, allocations: 7.919 MB / 1.364 GB, free: 7.402 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/9.054, allocations: 10.14 kB / 1.364 GB, free: 7.398 MB / 1.092 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches