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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.005447/0.005447, allocations: 102.4 kB / 15.74 MB, free: 6.035 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.001175/0.001175, allocations: 195.9 kB / 16.67 MB, free: 5.961 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.82/2.82, allocations: 469.4 MB / 0.7422 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 68.34 kB / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2873, allocations: 159.1 MB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.8853/1.173, allocations: 169.5 MB / 1.385 GB, free: 1.453 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009448/1.182, allocations: 7.318 MB / 1.392 GB, free: 11.53 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006308/1.183, allocations: 10.72 kB / 1.392 GB, free: 11.53 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0008387/1.184, allocations: 224.1 kB / 1.393 GB, free: 11.34 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001873/1.186, allocations: 0.5936 MB / 1.393 GB, free: 10.89 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001379/1.187, allocations: 432.2 kB / 1.394 GB, free: 10.58 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001158/1.188, allocations: 0.6999 MB / 1.394 GB, free: 10.19 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004968/1.189, allocations: 273.9 kB / 1.395 GB, free: 10.03 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008658/1.19, allocations: 384 kB / 1.395 GB, free: 9.801 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000382/1.19, allocations: 217.4 kB / 1.395 GB, free: 9.676 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 5.925e-05/1.19, allocations: 19.69 kB / 1.395 GB, free: 9.676 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/1.191, allocations: 0.7114 MB / 1.396 GB, free: 9.27 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001627/1.192, allocations: 101.4 kB / 1.396 GB, free: 9.203 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000282/1.192, allocations: 162.9 kB / 1.396 GB, free: 9.102 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001087/1.193, allocations: 0.5694 MB / 1.397 GB, free: 8.754 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.193, allocations: 4 kB / 1.397 GB, free: 8.75 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.703e-06/1.193, allocations: 5.281 kB / 1.397 GB, free: 8.746 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.882e-05/1.193, allocations: 3.984 kB / 1.397 GB, free: 8.742 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.001047/1.194, allocations: 0.6495 MB / 1.397 GB, free: 8.156 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/1.194, allocations: 10.06 kB / 1.397 GB, free: 8.156 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.979e-05/1.194, allocations: 57.12 kB / 1.397 GB, free: 8.098 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00039/1.195, allocations: 69.58 kB / 1.397 GB, free: 8.062 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005415/1.195, allocations: 321.6 kB / 1.398 GB, free: 7.762 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/1.195, allocations: 17.94 kB / 1.398 GB, free: 7.754 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.513e-05/1.195, allocations: 24.11 kB / 1.398 GB, free: 7.746 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005565/1.196, allocations: 307.9 kB / 1.398 GB, free: 7.504 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/1.196, allocations: 1.219 kB / 1.398 GB, free: 7.504 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/1.196, allocations: 15.47 kB / 1.398 GB, free: 7.492 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/1.196, allocations: 5.594 kB / 1.398 GB, free: 7.492 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/1.196, allocations: 172 kB / 1.398 GB, free: 7.414 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.001833/1.198, allocations: 1.703 MB / 1.4 GB, free: 5.801 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/1.198, allocations: 87.88 kB / 1.4 GB, free: 5.746 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/1.199, allocations: 79.77 kB / 1.4 GB, free: 5.707 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002857/1.199, allocations: 192.5 kB / 1.4 GB, free: 5.504 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/1.199, allocations: 35.94 kB / 1.4 GB, free: 5.461 MB / 1.092 GB Notification: Performance of pre-optimization done (n=11): time 1.683e-06/1.199, allocations: 0 / 1.4 GB, free: 5.461 MB / 1.092 GB Notification: Performance of matching and sorting (n=11): time 0.0007232/1.2, allocations: 223.3 kB / 1.401 GB, free: 5.344 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/1.2, allocations: 52.47 kB / 1.401 GB, free: 5.281 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/1.2, allocations: 325.5 kB / 1.401 GB, free: 5.07 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/1.2, allocations: 30.89 kB / 1.401 GB, free: 5.035 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/1.2, allocations: 199.2 kB / 1.401 GB, free: 4.855 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/1.2, allocations: 44.81 kB / 1.401 GB, free: 4.816 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.654e-05/1.2, allocations: 52.92 kB / 1.401 GB, free: 4.777 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.201, allocations: 337.3 kB / 1.402 GB, free: 4.445 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/1.201, allocations: 62.94 kB / 1.402 GB, free: 4.41 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/1.201, allocations: 198.3 kB / 1.402 GB, free: 4.203 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003769/1.201, allocations: 234.8 kB / 1.402 GB, free: 3.996 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/1.201, allocations: 1.344 kB / 1.402 GB, free: 3.996 MB / 1.092 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005425/1.202, allocations: 252.9 kB / 1.402 GB, free: 3.855 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/1.202, allocations: 6.5 kB / 1.402 GB, free: 3.855 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.202, allocations: 3.594 kB / 1.402 GB, free: 3.855 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/1.202, allocations: 4.312 kB / 1.402 GB, free: 3.855 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/1.202, allocations: 48.75 kB / 1.402 GB, free: 3.844 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/1.202, allocations: 9.688 kB / 1.402 GB, free: 3.84 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/1.203, allocations: 39.3 kB / 1.402 GB, free: 3.816 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-05/1.203, allocations: 18.12 kB / 1.402 GB, free: 3.809 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002538/1.203, allocations: 172.7 kB / 1.403 GB, free: 3.68 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002425/1.203, allocations: 200.2 kB / 1.403 GB, free: 3.473 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003683/1.203, allocations: 232.3 kB / 1.403 GB, free: 3.27 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.536e-06/1.203, allocations: 1.062 kB / 1.403 GB, free: 3.27 MB / 1.092 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005242/1.204, allocations: 248.3 kB / 1.403 GB, free: 3.133 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/1.204, allocations: 13.41 kB / 1.403 GB, free: 3.129 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/1.204, allocations: 3.688 kB / 1.403 GB, free: 3.129 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.244e-06/1.204, allocations: 4.656 kB / 1.403 GB, free: 3.129 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/1.204, allocations: 43.33 kB / 1.403 GB, free: 3.121 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/1.204, allocations: 12.3 kB / 1.403 GB, free: 3.113 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/1.205, allocations: 25.91 kB / 1.403 GB, free: 3.102 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/1.205, allocations: 13.78 kB / 1.403 GB, free: 3.098 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.0001299/1.205, allocations: 202.8 kB / 1.403 GB, free: 2.898 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.1e-05/1.205, allocations: 36.77 kB / 1.404 GB, free: 2.875 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004041/1.205, allocations: 165.3 kB / 1.404 GB, free: 2.766 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/1.205, allocations: 1.062 kB / 1.404 GB, free: 2.766 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.205, allocations: 1.125 kB / 1.404 GB, free: 2.766 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.205, allocations: 0 / 1.404 GB, free: 2.766 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009834/1.206, allocations: 0.616 MB / 1.404 GB, free: 2.219 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/1.206, allocations: 2.562 kB / 1.404 GB, free: 2.219 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/1.206, allocations: 22.73 kB / 1.404 GB, free: 2.215 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/1.206, allocations: 2.219 kB / 1.404 GB, free: 2.215 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/1.206, allocations: 3.594 kB / 1.404 GB, free: 2.215 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/1.206, allocations: 3.531 kB / 1.404 GB, free: 2.215 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/1.206, allocations: 10.12 kB / 1.404 GB, free: 2.207 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004261/1.207, allocations: 305.2 kB / 1.405 GB, free: 1.945 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/1.207, allocations: 117.8 kB / 1.405 GB, free: 1.824 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.374e-05/1.207, allocations: 7.125 kB / 1.405 GB, free: 1.82 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/1.207, allocations: 22.23 kB / 1.405 GB, free: 1.805 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/1.207, allocations: 13.52 kB / 1.405 GB, free: 1.797 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/1.207, allocations: 4.375 kB / 1.405 GB, free: 1.797 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002585/1.208, allocations: 227 kB / 1.405 GB, free: 1.652 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.11e-07/1.208, allocations: 0 / 1.405 GB, free: 1.652 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006982/1.208, allocations: 130.3 kB / 1.405 GB, free: 1.633 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.00108/1.209, allocations: 0.8994 MB / 1.406 GB, free: 0.8086 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0006672/1.21, allocations: 247.3 kB / 1.406 GB, free: 0.7031 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.21, allocations: 0 / 1.406 GB, free: 0.7031 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/1.21, allocations: 68.45 kB / 1.406 GB, free: 0.6719 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009082/1.211, allocations: 129.9 kB / 1.406 GB, free: 0.6055 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003874/1.215, allocations: 2.811 MB / 1.409 GB, free: 14.35 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/1.216, allocations: 0.7773 MB / 1.41 GB, free: 13.6 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0003328/1.216, allocations: 86.83 kB / 1.41 GB, free: 13.55 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/1.216, allocations: 91.91 kB / 1.41 GB, free: 13.48 MB / 1.107 GB Notification: Performance of SimCode: time 1.142e-06/1.216, allocations: 0 / 1.41 GB, free: 13.48 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/1.247, allocations: 7.918 MB / 1.418 GB, free: 9.547 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.957/9.204, allocations: 10.44 kB / 1.418 GB, free: 9.539 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