Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_latest_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.005706/0.005706, allocations: 95.97 kB / 15.73 MB, free: 6.051 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.001297/0.001297, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.765/2.765, allocations: 472.7 MB / 0.7453 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 63.91 kB / 1.069 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2948, allocations: 159.9 MB / 1.225 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.7973/1.092, allocations: 169.5 MB / 1.391 GB, free: 11.04 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.008656/1.101, allocations: 7.318 MB / 1.398 GB, free: 5.117 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007202/1.102, allocations: 15.5 kB / 1.398 GB, free: 5.109 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0007946/1.102, allocations: 216.1 kB / 1.398 GB, free: 4.93 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001888/1.104, allocations: 0.594 MB / 1.399 GB, free: 4.48 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001503/1.106, allocations: 439.3 kB / 1.399 GB, free: 4.168 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001152/1.107, allocations: 0.7025 MB / 1.4 GB, free: 3.773 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004642/1.107, allocations: 266.7 kB / 1.4 GB, free: 3.625 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007482/1.108, allocations: 391.8 kB / 1.4 GB, free: 3.391 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/1.109, allocations: 217.8 kB / 1.401 GB, free: 3.266 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 4.203e-05/1.109, allocations: 18.5 kB / 1.401 GB, free: 3.266 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/1.11, allocations: 0.7032 MB / 1.401 GB, free: 2.867 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/1.11, allocations: 110.3 kB / 1.401 GB, free: 2.793 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001785/1.11, allocations: 160.1 kB / 1.402 GB, free: 2.695 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001059/1.111, allocations: 0.5757 MB / 1.402 GB, free: 2.34 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.111, allocations: 1.062 kB / 1.402 GB, free: 2.34 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.172e-06/1.111, allocations: 4 kB / 1.402 GB, free: 2.336 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.905e-06/1.111, allocations: 0 / 1.402 GB, free: 2.336 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.0009685/1.112, allocations: 0.6502 MB / 1.403 GB, free: 1.75 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/1.112, allocations: 9.312 kB / 1.403 GB, free: 1.75 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.274e-05/1.113, allocations: 57.73 kB / 1.403 GB, free: 1.691 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003748/1.113, allocations: 68.61 kB / 1.403 GB, free: 1.656 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005016/1.113, allocations: 321.9 kB / 1.403 GB, free: 1.355 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/1.113, allocations: 17.34 kB / 1.403 GB, free: 1.348 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/1.113, allocations: 20.66 kB / 1.403 GB, free: 1.344 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004731/1.114, allocations: 305.4 kB / 1.404 GB, free: 1.105 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/1.114, allocations: 0 / 1.404 GB, free: 1.105 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/1.114, allocations: 11.16 kB / 1.404 GB, free: 1.098 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/1.114, allocations: 10.19 kB / 1.404 GB, free: 1.094 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003758/1.114, allocations: 175.9 kB / 1.404 GB, free: 1.012 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.001605/1.116, allocations: 1.707 MB / 1.405 GB, free: 15.39 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/1.116, allocations: 83.72 kB / 1.405 GB, free: 15.34 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/1.116, allocations: 83.28 kB / 1.406 GB, free: 15.3 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002946/1.117, allocations: 191.9 kB / 1.406 GB, free: 15.09 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/1.117, allocations: 41.69 kB / 1.406 GB, free: 15.05 MB / 1.107 GB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/1.117, allocations: 0 / 1.406 GB, free: 15.05 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.0006789/1.118, allocations: 223.9 kB / 1.406 GB, free: 14.93 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/1.118, allocations: 56.78 kB / 1.406 GB, free: 14.86 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/1.118, allocations: 321.5 kB / 1.406 GB, free: 14.65 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/1.118, allocations: 30.95 kB / 1.406 GB, free: 14.61 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/1.118, allocations: 193.5 kB / 1.407 GB, free: 14.44 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/1.118, allocations: 41.23 kB / 1.407 GB, free: 14.4 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.636e-05/1.118, allocations: 49.08 kB / 1.407 GB, free: 14.37 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001157/1.118, allocations: 337.8 kB / 1.407 GB, free: 14.04 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/1.118, allocations: 63.25 kB / 1.407 GB, free: 14 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/1.119, allocations: 200.1 kB / 1.407 GB, free: 13.79 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/1.119, allocations: 234.3 kB / 1.407 GB, free: 13.59 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.119, allocations: 5.188 kB / 1.407 GB, free: 13.58 MB / 1.107 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005726/1.12, allocations: 253.2 kB / 1.408 GB, free: 13.44 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.12, allocations: 7.188 kB / 1.408 GB, free: 13.44 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/1.12, allocations: 3.438 kB / 1.408 GB, free: 13.44 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/1.12, allocations: 5.469 kB / 1.408 GB, free: 13.44 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/1.12, allocations: 47.25 kB / 1.408 GB, free: 13.43 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/1.12, allocations: 4.656 kB / 1.408 GB, free: 13.43 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/1.12, allocations: 42.16 kB / 1.408 GB, free: 13.4 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.18e-05/1.12, allocations: 19.22 kB / 1.408 GB, free: 13.39 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002269/1.121, allocations: 176.1 kB / 1.408 GB, free: 13.26 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002344/1.121, allocations: 193.9 kB / 1.408 GB, free: 13.06 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003303/1.121, allocations: 229.9 kB / 1.408 GB, free: 12.86 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/1.121, allocations: 0.9688 kB / 1.408 GB, free: 12.86 MB / 1.107 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004678/1.122, allocations: 252.7 kB / 1.409 GB, free: 12.71 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/1.122, allocations: 10.34 kB / 1.409 GB, free: 12.71 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/1.122, allocations: 3.281 kB / 1.409 GB, free: 12.71 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.492e-06/1.122, allocations: 5.312 kB / 1.409 GB, free: 12.71 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/1.122, allocations: 46.44 kB / 1.409 GB, free: 12.7 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/1.122, allocations: 5.906 kB / 1.409 GB, free: 12.7 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/1.122, allocations: 28.45 kB / 1.409 GB, free: 12.68 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/1.122, allocations: 11.56 kB / 1.409 GB, free: 12.68 MB / 1.107 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.0001355/1.122, allocations: 206.3 kB / 1.409 GB, free: 12.48 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.528e-05/1.122, allocations: 32.34 kB / 1.409 GB, free: 12.46 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000388/1.123, allocations: 170.4 kB / 1.409 GB, free: 12.35 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/1.123, allocations: 1.156 kB / 1.409 GB, free: 12.35 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.123, allocations: 5.781 kB / 1.409 GB, free: 12.34 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/1.123, allocations: 0 / 1.409 GB, free: 12.34 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009534/1.124, allocations: 0.6015 MB / 1.41 GB, free: 11.81 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/1.124, allocations: 9.734 kB / 1.41 GB, free: 11.8 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/1.124, allocations: 33.58 kB / 1.41 GB, free: 11.79 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/1.124, allocations: 2.75 kB / 1.41 GB, free: 11.79 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/1.124, allocations: 2.75 kB / 1.41 GB, free: 11.79 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/1.124, allocations: 6.672 kB / 1.41 GB, free: 11.79 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/1.124, allocations: 10.58 kB / 1.41 GB, free: 11.78 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/1.124, allocations: 300.2 kB / 1.41 GB, free: 11.52 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 9.574e-05/1.124, allocations: 117.2 kB / 1.41 GB, free: 11.4 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/1.124, allocations: 6.734 kB / 1.41 GB, free: 11.4 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/1.125, allocations: 9.5 kB / 1.41 GB, free: 11.39 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/1.125, allocations: 17.42 kB / 1.41 GB, free: 11.38 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/1.125, allocations: 5.5 kB / 1.41 GB, free: 11.38 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002097/1.125, allocations: 226.7 kB / 1.41 GB, free: 11.24 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.6e-07/1.125, allocations: 3.938 kB / 1.41 GB, free: 11.23 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.000601/1.125, allocations: 134.5 kB / 1.411 GB, free: 11.21 MB / 1.107 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.0009267/1.126, allocations: 0.8991 MB / 1.411 GB, free: 10.39 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0005891/1.127, allocations: 250.4 kB / 1.412 GB, free: 10.28 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.127, allocations: 0 / 1.412 GB, free: 10.28 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/1.127, allocations: 63.48 kB / 1.412 GB, free: 10.25 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007853/1.128, allocations: 119.3 kB / 1.412 GB, free: 10.2 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003461/1.131, allocations: 2.818 MB / 1.415 GB, free: 7.938 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/1.132, allocations: 0.7726 MB / 1.415 GB, free: 7.199 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0002858/1.132, allocations: 87.09 kB / 1.415 GB, free: 7.156 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/1.132, allocations: 88.06 kB / 1.416 GB, free: 7.086 MB / 1.107 GB Notification: Performance of SimCode: time 2.6e-07/1.132, allocations: 0 / 1.416 GB, free: 7.086 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/1.158, allocations: 7.929 MB / 1.423 GB, free: 3.098 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/9.147, allocations: 8.594 kB / 1.423 GB, free: 3.09 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches