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.005642/0.005642, allocations: 99.34 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.001367/0.001367, allocations: 198.5 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.754/2.754, allocations: 437.1 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 63.89 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3047, allocations: 151.6 MB / 1.166 GB, free: 7.32 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.8122/1.117, allocations: 169.5 MB / 1.332 GB, free: 2.043 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009773/1.127, allocations: 7.317 MB / 1.339 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006402/1.127, allocations: 15.91 kB / 1.339 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007455/1.128, allocations: 215.7 kB / 1.339 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001634/1.13, allocations: 0.5661 MB / 1.34 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001305/1.131, allocations: 435.9 kB / 1.34 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009413/1.132, allocations: 0.7057 MB / 1.341 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000411/1.133, allocations: 268.7 kB / 1.341 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007095/1.133, allocations: 379.1 kB / 1.341 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/1.134, allocations: 218.8 kB / 1.342 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.45e-05/1.134, allocations: 18.81 kB / 1.342 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/1.135, allocations: 0.7034 MB / 1.342 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001488/1.135, allocations: 106.6 kB / 1.342 GB, free: 11.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001922/1.135, allocations: 158.8 kB / 1.342 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00101/1.136, allocations: 0.5755 MB / 1.343 GB, free: 10.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.136, allocations: 0 / 1.343 GB, free: 10.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.804e-06/1.137, allocations: 5.953 kB / 1.343 GB, free: 10.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.534e-06/1.137, allocations: 0 / 1.343 GB, free: 10.88 MB / 1.029 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.001002/1.138, allocations: 0.6522 MB / 1.344 GB, free: 10.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/1.138, allocations: 10.19 kB / 1.344 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.12e-05/1.138, allocations: 54.61 kB / 1.344 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003683/1.138, allocations: 70.59 kB / 1.344 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005659/1.139, allocations: 326.7 kB / 1.344 GB, free: 9.973 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/1.139, allocations: 18.62 kB / 1.344 GB, free: 9.965 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/1.139, allocations: 24.56 kB / 1.344 GB, free: 9.957 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005183/1.139, allocations: 299.4 kB / 1.344 GB, free: 9.762 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/1.139, allocations: 0 / 1.344 GB, free: 9.762 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/1.139, allocations: 15.41 kB / 1.344 GB, free: 9.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/1.139, allocations: 7.938 kB / 1.344 GB, free: 9.75 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003861/1.14, allocations: 179.8 kB / 1.345 GB, free: 9.691 MB / 1.029 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.001807/1.141, allocations: 1.701 MB / 1.346 GB, free: 8.219 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/1.142, allocations: 83.84 kB / 1.346 GB, free: 8.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/1.142, allocations: 80.14 kB / 1.346 GB, free: 8.152 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003268/1.142, allocations: 186.5 kB / 1.347 GB, free: 7.961 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/1.142, allocations: 43.69 kB / 1.347 GB, free: 7.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/1.142, allocations: 0 / 1.347 GB, free: 7.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0007009/1.143, allocations: 218.5 kB / 1.347 GB, free: 7.828 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/1.143, allocations: 52.72 kB / 1.347 GB, free: 7.766 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/1.143, allocations: 329.3 kB / 1.347 GB, free: 7.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/1.143, allocations: 30.86 kB / 1.347 GB, free: 7.555 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/1.144, allocations: 194 kB / 1.347 GB, free: 7.391 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/1.144, allocations: 46.08 kB / 1.348 GB, free: 7.355 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.982e-05/1.144, allocations: 46.38 kB / 1.348 GB, free: 7.324 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.144, allocations: 339.8 kB / 1.348 GB, free: 7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/1.144, allocations: 57.92 kB / 1.348 GB, free: 6.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/1.144, allocations: 201.6 kB / 1.348 GB, free: 6.789 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/1.145, allocations: 234.9 kB / 1.348 GB, free: 6.602 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.145, allocations: 1.094 kB / 1.348 GB, free: 6.602 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004751/1.145, allocations: 256.7 kB / 1.349 GB, free: 6.488 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/1.145, allocations: 11.38 kB / 1.349 GB, free: 6.484 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.145, allocations: 3.594 kB / 1.349 GB, free: 6.484 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/1.145, allocations: 5.188 kB / 1.349 GB, free: 6.484 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/1.145, allocations: 46.34 kB / 1.349 GB, free: 6.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/1.145, allocations: 4.156 kB / 1.349 GB, free: 6.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/1.146, allocations: 41.59 kB / 1.349 GB, free: 6.461 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/1.146, allocations: 17.45 kB / 1.349 GB, free: 6.457 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002363/1.146, allocations: 168.5 kB / 1.349 GB, free: 6.348 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002711/1.146, allocations: 193.4 kB / 1.349 GB, free: 6.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000359/1.147, allocations: 232.7 kB / 1.349 GB, free: 5.977 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.464e-06/1.147, allocations: 1.188 kB / 1.349 GB, free: 5.977 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004597/1.147, allocations: 253.4 kB / 1.35 GB, free: 5.863 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/1.147, allocations: 13.97 kB / 1.35 GB, free: 5.855 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/1.147, allocations: 4.531 kB / 1.35 GB, free: 5.855 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-06/1.147, allocations: 5.125 kB / 1.35 GB, free: 5.855 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/1.147, allocations: 49.69 kB / 1.35 GB, free: 5.848 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/1.147, allocations: 7.641 kB / 1.35 GB, free: 5.848 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/1.148, allocations: 26.09 kB / 1.35 GB, free: 5.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/1.148, allocations: 9.875 kB / 1.35 GB, free: 5.84 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.0001336/1.148, allocations: 206.7 kB / 1.35 GB, free: 5.637 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.257e-05/1.148, allocations: 33.22 kB / 1.35 GB, free: 5.617 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003724/1.148, allocations: 167.7 kB / 1.35 GB, free: 5.539 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/1.148, allocations: 1.344 kB / 1.35 GB, free: 5.539 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/1.148, allocations: 0 / 1.35 GB, free: 5.539 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/1.148, allocations: 0 / 1.35 GB, free: 5.539 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009131/1.149, allocations: 0.6142 MB / 1.351 GB, free: 5.078 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.149, allocations: 2.688 kB / 1.351 GB, free: 5.078 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/1.149, allocations: 26.36 kB / 1.351 GB, free: 5.074 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/1.149, allocations: 9.734 kB / 1.351 GB, free: 5.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/1.149, allocations: 2.5 kB / 1.351 GB, free: 5.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/1.149, allocations: 2.344 kB / 1.351 GB, free: 5.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.149, allocations: 6.219 kB / 1.351 GB, free: 5.066 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/1.15, allocations: 306.2 kB / 1.351 GB, free: 4.824 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/1.15, allocations: 117.8 kB / 1.351 GB, free: 4.707 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/1.15, allocations: 2.438 kB / 1.351 GB, free: 4.707 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/1.15, allocations: 14.38 kB / 1.351 GB, free: 4.703 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/1.15, allocations: 16.03 kB / 1.351 GB, free: 4.695 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/1.15, allocations: 4.625 kB / 1.351 GB, free: 4.695 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002242/1.15, allocations: 225.7 kB / 1.351 GB, free: 4.574 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.31e-07/1.15, allocations: 1.125 kB / 1.351 GB, free: 4.574 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005689/1.151, allocations: 132.1 kB / 1.351 GB, free: 4.555 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.0009956/1.152, allocations: 0.9063 MB / 1.352 GB, free: 3.758 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005907/1.153, allocations: 246.1 kB / 1.353 GB, free: 3.688 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.153, allocations: 1.094 kB / 1.353 GB, free: 3.688 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/1.153, allocations: 66.3 kB / 1.353 GB, free: 3.668 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007232/1.153, allocations: 124.4 kB / 1.353 GB, free: 3.633 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/1.158, allocations: 2.822 MB / 1.356 GB, free: 1.578 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/1.158, allocations: 0.7726 MB / 1.356 GB, free: 0.8789 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002981/1.158, allocations: 90.11 kB / 1.356 GB, free: 0.8555 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/1.159, allocations: 91.41 kB / 1.356 GB, free: 0.7891 MB / 1.029 GB Notification: Performance of SimCode: time 9.62e-07/1.159, allocations: 0 / 1.356 GB, free: 0.7891 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03219/1.191, allocations: 7.908 MB / 1.364 GB, free: 14.23 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.401/9.592, allocations: 15.08 kB / 1.364 GB, free: 14.22 MB / 1.045 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