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.008355/0.008355, allocations: 97.78 kB / 15.73 MB, free: 5.961 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.001687/0.001687, allocations: 195.3 kB / 16.67 MB, free: 5.883 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.424/2.424, allocations: 437.1 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001373, allocations: 68.11 kB / 1.018 GB, free: 9.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7823/0.7837, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1758/0.9595, allocations: 169.5 MB / 1.332 GB, free: 9.652 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.008583/0.9681, allocations: 7.323 MB / 1.339 GB, free: 2.309 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004656/0.9686, allocations: 11.94 kB / 1.339 GB, free: 2.297 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006754/0.9694, allocations: 214.5 kB / 1.339 GB, free: 2.086 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001493/0.9709, allocations: 0.5951 MB / 1.34 GB, free: 1.488 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.972, allocations: 439.3 kB / 1.34 GB, free: 1.062 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008697/0.9729, allocations: 0.7012 MB / 1.341 GB, free: 368 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004001/0.9733, allocations: 263.1 kB / 1.341 GB, free: 104 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006824/0.974, allocations: 390.5 kB / 1.341 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.9743, allocations: 219 kB / 1.342 GB, free: 15.5 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.839e-05/0.9743, allocations: 20 kB / 1.342 GB, free: 15.48 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.9754, allocations: 0.7055 MB / 1.342 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.9756, allocations: 103.7 kB / 1.342 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.9757, allocations: 171.1 kB / 1.343 GB, free: 14.51 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007662/0.9765, allocations: 0.5759 MB / 1.343 GB, free: 13.93 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.9765, allocations: 0 / 1.343 GB, free: 13.93 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.324e-06/0.9765, allocations: 4 kB / 1.343 GB, free: 13.93 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.9765, allocations: 3.938 kB / 1.343 GB, free: 13.93 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.0008337/0.9774, allocations: 0.6459 MB / 1.344 GB, free: 13.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.9774, allocations: 12.92 kB / 1.344 GB, free: 13.22 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.37e-05/0.9775, allocations: 54.48 kB / 1.344 GB, free: 13.16 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003468/0.9778, allocations: 67.73 kB / 1.344 GB, free: 13.09 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005079/0.9783, allocations: 318.4 kB / 1.344 GB, free: 12.74 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.9784, allocations: 24.38 kB / 1.344 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.9784, allocations: 24 kB / 1.344 GB, free: 12.69 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004842/0.9789, allocations: 300.6 kB / 1.344 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.9789, allocations: 3.938 kB / 1.344 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.979, allocations: 8 kB / 1.344 GB, free: 12.35 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.979, allocations: 11.94 kB / 1.345 GB, free: 12.34 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003684/0.9794, allocations: 175.7 kB / 1.345 GB, free: 12.16 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.001476/0.9808, allocations: 1.694 MB / 1.346 GB, free: 10.35 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.9811, allocations: 86.56 kB / 1.346 GB, free: 10.26 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.9813, allocations: 88.77 kB / 1.346 GB, free: 10.17 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000259/0.9815, allocations: 186.2 kB / 1.347 GB, free: 9.949 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.9816, allocations: 34.56 kB / 1.347 GB, free: 9.906 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.9816, allocations: 0 / 1.347 GB, free: 9.906 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0006658/0.9822, allocations: 229.2 kB / 1.347 GB, free: 9.676 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.9823, allocations: 59.41 kB / 1.347 GB, free: 9.605 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.9826, allocations: 320.5 kB / 1.347 GB, free: 9.285 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.9826, allocations: 33.7 kB / 1.347 GB, free: 9.246 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.9827, allocations: 192.1 kB / 1.348 GB, free: 9.055 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.9828, allocations: 43.62 kB / 1.348 GB, free: 9.012 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-05/0.9828, allocations: 49.7 kB / 1.348 GB, free: 8.957 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.983, allocations: 342.8 kB / 1.348 GB, free: 8.613 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.9831, allocations: 60.81 kB / 1.348 GB, free: 8.551 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.9834, allocations: 197.1 kB / 1.348 GB, free: 8.297 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/0.9837, allocations: 237.5 kB / 1.348 GB, free: 8.016 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.9837, allocations: 0 / 1.348 GB, free: 8.016 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004497/0.9842, allocations: 257.2 kB / 1.349 GB, free: 7.758 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.9842, allocations: 8 kB / 1.349 GB, free: 7.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.9842, allocations: 4 kB / 1.349 GB, free: 7.746 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.9842, allocations: 4 kB / 1.349 GB, free: 7.742 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.9844, allocations: 51.91 kB / 1.349 GB, free: 7.691 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.9844, allocations: 4 kB / 1.349 GB, free: 7.688 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.9847, allocations: 43.75 kB / 1.349 GB, free: 7.645 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.9847, allocations: 19.94 kB / 1.349 GB, free: 7.625 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002173/0.985, allocations: 172.2 kB / 1.349 GB, free: 7.453 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002224/0.9852, allocations: 193.2 kB / 1.349 GB, free: 7.207 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000325/0.9855, allocations: 229.5 kB / 1.349 GB, free: 6.934 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.562e-06/0.9855, allocations: 0 / 1.349 GB, free: 6.934 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004379/0.986, allocations: 265.4 kB / 1.35 GB, free: 6.668 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.896e-06/0.986, allocations: 8 kB / 1.35 GB, free: 6.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.986, allocations: 4 kB / 1.35 GB, free: 6.656 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.709e-06/0.986, allocations: 4 kB / 1.35 GB, free: 6.652 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.9862, allocations: 47.91 kB / 1.35 GB, free: 6.605 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.9862, allocations: 4 kB / 1.35 GB, free: 6.602 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.9864, allocations: 23.94 kB / 1.35 GB, free: 6.578 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.9865, allocations: 12 kB / 1.35 GB, free: 6.566 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.0001021/0.9866, allocations: 202.4 kB / 1.35 GB, free: 6.363 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.9866, allocations: 39.69 kB / 1.35 GB, free: 6.324 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003634/0.987, allocations: 160.4 kB / 1.35 GB, free: 6.16 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.987, allocations: 3.984 kB / 1.35 GB, free: 6.156 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.987, allocations: 3.938 kB / 1.35 GB, free: 6.152 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.987, allocations: 0 / 1.35 GB, free: 6.152 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008717/0.9879, allocations: 0.6093 MB / 1.351 GB, free: 5.465 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.9879, allocations: 4.219 kB / 1.351 GB, free: 5.461 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.988, allocations: 23.98 kB / 1.351 GB, free: 5.438 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.9881, allocations: 4 kB / 1.351 GB, free: 5.434 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.9881, allocations: 4 kB / 1.351 GB, free: 5.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.9881, allocations: 7.922 kB / 1.351 GB, free: 5.422 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.9881, allocations: 7.938 kB / 1.351 GB, free: 5.414 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.9885, allocations: 301.2 kB / 1.351 GB, free: 5.082 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.743e-05/0.9886, allocations: 112.9 kB / 1.351 GB, free: 4.953 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/0.9886, allocations: 7.984 kB / 1.351 GB, free: 4.945 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.9888, allocations: 16 kB / 1.351 GB, free: 4.93 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.9889, allocations: 11.92 kB / 1.351 GB, free: 4.918 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.9889, allocations: 4 kB / 1.351 GB, free: 4.914 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002018/0.9891, allocations: 227 kB / 1.351 GB, free: 4.691 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9891, allocations: 0 / 1.351 GB, free: 4.691 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005553/0.9896, allocations: 135.8 kB / 1.351 GB, free: 4.559 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.0008477/0.9905, allocations: 0.9124 MB / 1.352 GB, free: 3.605 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005383/0.991, allocations: 244.7 kB / 1.353 GB, free: 3.367 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9911, allocations: 0 / 1.353 GB, free: 3.367 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.9912, allocations: 67.83 kB / 1.353 GB, free: 3.301 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007318/0.992, allocations: 121.8 kB / 1.353 GB, free: 3.188 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/0.995, allocations: 2.822 MB / 1.356 GB, free: 160 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.9953, allocations: 0.7717 MB / 1.356 GB, free: 15.36 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002451/0.9956, allocations: 91.53 kB / 1.356 GB, free: 15.27 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.9957, allocations: 95.41 kB / 1.356 GB, free: 15.17 MB / 1.092 GB Notification: Performance of SimCode: time 3.5e-07/0.9957, allocations: 0 / 1.356 GB, free: 15.17 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/1.019, allocations: 7.904 MB / 1.364 GB, free: 7.414 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.904/8.923, allocations: 9.297 kB / 1.364 GB, free: 7.41 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