Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_11_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.005103/0.005103, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001397/0.001397, allocations: 202.2 kB / 16.68 MB, free: 5.969 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.871/2.871, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 72.09 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3137, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.7527/1.066, allocations: 169.5 MB / 1.386 GB, free: 0.9883 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01323/1.08, allocations: 7.314 MB / 1.393 GB, free: 11.07 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006889/1.08, allocations: 11.66 kB / 1.393 GB, free: 11.07 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00105/1.081, allocations: 214.5 kB / 1.393 GB, free: 10.89 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002412/1.084, allocations: 0.5732 MB / 1.394 GB, free: 10.45 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002004/1.086, allocations: 433.5 kB / 1.394 GB, free: 10.14 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001579/1.088, allocations: 0.7087 MB / 1.395 GB, free: 9.734 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006726/1.088, allocations: 269.5 kB / 1.395 GB, free: 9.578 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/1.089, allocations: 377.9 kB / 1.395 GB, free: 9.355 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005779/1.09, allocations: 216.8 kB / 1.396 GB, free: 9.23 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 7.967e-05/1.09, allocations: 23.59 kB / 1.396 GB, free: 9.227 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001972/1.092, allocations: 0.7017 MB / 1.396 GB, free: 8.828 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002261/1.092, allocations: 110.9 kB / 1.396 GB, free: 8.754 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0003585/1.093, allocations: 158.8 kB / 1.396 GB, free: 8.656 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00148/1.094, allocations: 0.5706 MB / 1.397 GB, free: 8.309 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.094, allocations: 0 / 1.397 GB, free: 8.309 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.463e-06/1.094, allocations: 0 / 1.397 GB, free: 8.309 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.58e-05/1.094, allocations: 0 / 1.397 GB, free: 8.309 MB / 1.092 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.001523/1.096, allocations: 0.6499 MB / 1.398 GB, free: 7.723 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/1.096, allocations: 13.78 kB / 1.398 GB, free: 7.719 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/1.096, allocations: 58.52 kB / 1.398 GB, free: 7.66 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005758/1.097, allocations: 71.41 kB / 1.398 GB, free: 7.621 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008221/1.097, allocations: 325.9 kB / 1.398 GB, free: 7.316 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/1.097, allocations: 14.44 kB / 1.398 GB, free: 7.312 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-05/1.098, allocations: 27.22 kB / 1.398 GB, free: 7.301 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007639/1.098, allocations: 300.9 kB / 1.398 GB, free: 7.062 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/1.098, allocations: 1.406 kB / 1.398 GB, free: 7.062 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.177e-05/1.098, allocations: 14.62 kB / 1.398 GB, free: 7.051 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/1.098, allocations: 6.25 kB / 1.398 GB, free: 7.051 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006184/1.099, allocations: 171.8 kB / 1.399 GB, free: 6.973 MB / 1.092 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.002693/1.102, allocations: 1.707 MB / 1.4 GB, free: 5.355 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/1.102, allocations: 83.98 kB / 1.4 GB, free: 5.305 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/1.102, allocations: 79.09 kB / 1.4 GB, free: 5.266 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003961/1.103, allocations: 192 kB / 1.401 GB, free: 5.062 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/1.103, allocations: 33.19 kB / 1.401 GB, free: 5.023 MB / 1.092 GB Notification: Performance of pre-optimization done (n=11): time 3.948e-06/1.103, allocations: 3.984 kB / 1.401 GB, free: 5.02 MB / 1.092 GB Notification: Performance of matching and sorting (n=11): time 0.001049/1.104, allocations: 232.2 kB / 1.401 GB, free: 4.895 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/1.104, allocations: 53.47 kB / 1.401 GB, free: 4.832 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005574/1.105, allocations: 321.1 kB / 1.401 GB, free: 4.621 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/1.105, allocations: 27.89 kB / 1.401 GB, free: 4.59 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/1.105, allocations: 193.4 kB / 1.401 GB, free: 4.414 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 5.987e-05/1.105, allocations: 50.22 kB / 1.402 GB, free: 4.371 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/1.105, allocations: 48.45 kB / 1.402 GB, free: 4.336 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002219/1.105, allocations: 337.8 kB / 1.402 GB, free: 4.004 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/1.106, allocations: 62.59 kB / 1.402 GB, free: 3.969 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004251/1.106, allocations: 198.6 kB / 1.402 GB, free: 3.762 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006179/1.107, allocations: 232 kB / 1.402 GB, free: 3.559 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.107, allocations: 0 / 1.402 GB, free: 3.559 MB / 1.092 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007929/1.107, allocations: 257.5 kB / 1.403 GB, free: 3.414 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/1.107, allocations: 6.75 kB / 1.403 GB, free: 3.414 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.107, allocations: 3.094 kB / 1.403 GB, free: 3.414 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/1.107, allocations: 4.875 kB / 1.403 GB, free: 3.414 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/1.108, allocations: 48.45 kB / 1.403 GB, free: 3.402 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.801e-05/1.108, allocations: 15.5 kB / 1.403 GB, free: 3.395 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004052/1.108, allocations: 38.95 kB / 1.403 GB, free: 3.371 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/1.108, allocations: 10.78 kB / 1.403 GB, free: 3.371 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003621/1.109, allocations: 172.7 kB / 1.403 GB, free: 3.242 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003817/1.109, allocations: 198.3 kB / 1.403 GB, free: 3.039 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005506/1.11, allocations: 233.3 kB / 1.403 GB, free: 2.832 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.996e-06/1.11, allocations: 1.438 kB / 1.403 GB, free: 2.832 MB / 1.092 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007955/1.11, allocations: 252.3 kB / 1.404 GB, free: 2.691 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/1.11, allocations: 15.12 kB / 1.404 GB, free: 2.684 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/1.11, allocations: 2.969 kB / 1.404 GB, free: 2.684 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/1.11, allocations: 8.812 kB / 1.404 GB, free: 2.68 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/1.111, allocations: 48.28 kB / 1.404 GB, free: 2.668 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/1.111, allocations: 8.781 kB / 1.404 GB, free: 2.664 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004267/1.111, allocations: 26 kB / 1.404 GB, free: 2.652 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/1.111, allocations: 14.44 kB / 1.404 GB, free: 2.648 MB / 1.092 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.0001809/1.111, allocations: 198.2 kB / 1.404 GB, free: 2.453 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/1.112, allocations: 32.53 kB / 1.404 GB, free: 2.434 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005989/1.112, allocations: 169.3 kB / 1.404 GB, free: 2.32 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/1.112, allocations: 5.062 kB / 1.404 GB, free: 2.316 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/1.112, allocations: 0 / 1.404 GB, free: 2.316 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/1.112, allocations: 4.344 kB / 1.404 GB, free: 2.316 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/1.114, allocations: 0.6042 MB / 1.405 GB, free: 1.781 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/1.114, allocations: 2.125 kB / 1.405 GB, free: 1.781 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/1.114, allocations: 26.53 kB / 1.405 GB, free: 1.773 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/1.114, allocations: 7.438 kB / 1.405 GB, free: 1.77 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/1.114, allocations: 6.25 kB / 1.405 GB, free: 1.766 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/1.114, allocations: 7.312 kB / 1.405 GB, free: 1.762 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/1.114, allocations: 6.094 kB / 1.405 GB, free: 1.758 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006372/1.115, allocations: 299.8 kB / 1.405 GB, free: 1.5 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/1.115, allocations: 121.5 kB / 1.405 GB, free: 1.375 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.001e-05/1.115, allocations: 7.094 kB / 1.405 GB, free: 1.371 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/1.115, allocations: 10.3 kB / 1.405 GB, free: 1.367 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.819e-05/1.115, allocations: 17.33 kB / 1.405 GB, free: 1.355 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/1.115, allocations: 4.594 kB / 1.405 GB, free: 1.355 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003326/1.116, allocations: 226.3 kB / 1.405 GB, free: 1.211 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.2e-07/1.116, allocations: 1.531 kB / 1.405 GB, free: 1.211 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009702/1.117, allocations: 132.6 kB / 1.405 GB, free: 1.188 MB / 1.092 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.001394/1.118, allocations: 0.9074 MB / 1.406 GB, free: 368 kB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0008826/1.119, allocations: 250.6 kB / 1.407 GB, free: 256 kB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/1.119, allocations: 0 / 1.407 GB, free: 256 kB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002448/1.119, allocations: 68.25 kB / 1.407 GB, free: 224 kB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/1.12, allocations: 122.2 kB / 1.407 GB, free: 164 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004963/1.125, allocations: 2.806 MB / 1.41 GB, free: 13.91 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/1.126, allocations: 0.7814 MB / 1.41 GB, free: 13.16 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0002868/1.126, allocations: 82.8 kB / 1.41 GB, free: 13.12 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/1.126, allocations: 92.81 kB / 1.41 GB, free: 13.05 MB / 1.107 GB Notification: Performance of SimCode: time 6.21e-07/1.126, allocations: 0 / 1.41 GB, free: 13.05 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/1.16, allocations: 7.915 MB / 1.418 GB, free: 9.105 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.103/9.263, allocations: 15.25 kB / 1.418 GB, free: 9.094 MB / 1.107 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches