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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001616/0.001616, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.893/2.893, allocations: 469.4 MB / 0.742 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 75.48 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3175, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.182/0.4996, allocations: 169.5 MB / 1.229 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01017/0.5098, allocations: 7.314 MB / 1.236 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005941/0.5104, allocations: 11.94 kB / 1.236 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008628/0.5113, allocations: 214.6 kB / 1.237 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.5131, allocations: 0.5716 MB / 1.237 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.5144, allocations: 430.4 kB / 1.237 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001045/0.5155, allocations: 0.7012 MB / 1.238 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005111/0.516, allocations: 270.9 kB / 1.238 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007977/0.5168, allocations: 390.5 kB / 1.239 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003672/0.5172, allocations: 203.1 kB / 1.239 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.5173, allocations: 20 kB / 1.239 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.5185, allocations: 0.7092 MB / 1.24 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.5187, allocations: 107.7 kB / 1.24 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.5189, allocations: 155.2 kB / 1.24 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.5201, allocations: 0.5609 MB / 1.241 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5201, allocations: 4 kB / 1.241 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5201, allocations: 0 / 1.241 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.5201, allocations: 0 / 1.241 GB, free: 8.785 MB / 0.9981 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.001176/0.5213, allocations: 0.6426 MB / 1.241 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.5213, allocations: 12.03 kB / 1.241 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.444e-05/0.5214, allocations: 66.47 kB / 1.241 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004025/0.5218, allocations: 55.59 kB / 1.241 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.5223, allocations: 310 kB / 1.242 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.5223, allocations: 16.44 kB / 1.242 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.5224, allocations: 24 kB / 1.242 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000518/0.5229, allocations: 300.6 kB / 1.242 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.5229, allocations: 3.938 kB / 1.242 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.523, allocations: 12 kB / 1.242 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.523, allocations: 8 kB / 1.242 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004101/0.5234, allocations: 183.4 kB / 1.242 GB, free: 7.039 MB / 0.9981 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.001736/0.5251, allocations: 1.698 MB / 1.244 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.5254, allocations: 90.56 kB / 1.244 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.5256, allocations: 76.8 kB / 1.244 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002856/0.5259, allocations: 198.1 kB / 1.244 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.5259, allocations: 34.5 kB / 1.244 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.5259, allocations: 0 / 1.244 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0007289/0.5267, allocations: 221.3 kB / 1.244 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.5267, allocations: 51.41 kB / 1.244 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.5271, allocations: 320.5 kB / 1.245 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.5271, allocations: 29.7 kB / 1.245 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.5272, allocations: 191.9 kB / 1.245 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.5273, allocations: 39.41 kB / 1.245 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.696e-05/0.5274, allocations: 49.61 kB / 1.245 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.5275, allocations: 342.8 kB / 1.245 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.5277, allocations: 64.77 kB / 1.245 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/0.5279, allocations: 197 kB / 1.246 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/0.5283, allocations: 233.5 kB / 1.246 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.5283, allocations: 0 / 1.246 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005154/0.5288, allocations: 261 kB / 1.246 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.5289, allocations: 8 kB / 1.246 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.5289, allocations: 4 kB / 1.246 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.5289, allocations: 4 kB / 1.246 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.5291, allocations: 51.91 kB / 1.246 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.5291, allocations: 4 kB / 1.246 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.5294, allocations: 36.02 kB / 1.246 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.5294, allocations: 16 kB / 1.246 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002359/0.5297, allocations: 171.9 kB / 1.246 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002399/0.5299, allocations: 195.5 kB / 1.247 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000347/0.5303, allocations: 233.5 kB / 1.247 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.953e-06/0.5303, allocations: 0 / 1.247 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004772/0.5308, allocations: 257.1 kB / 1.247 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.5308, allocations: 8 kB / 1.247 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.5308, allocations: 4 kB / 1.247 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.101e-06/0.5308, allocations: 4 kB / 1.247 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.531, allocations: 47.91 kB / 1.247 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.531, allocations: 7.984 kB / 1.247 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.5313, allocations: 27.91 kB / 1.247 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.5313, allocations: 24.23 kB / 1.247 GB, free: 1.441 MB / 0.9981 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.0001127/0.5314, allocations: 197.9 kB / 1.247 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.556e-05/0.5315, allocations: 35.56 kB / 1.247 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003881/0.5319, allocations: 172.3 kB / 1.247 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.5319, allocations: 4.219 kB / 1.247 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5319, allocations: 0 / 1.247 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5319, allocations: 3.984 kB / 1.247 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009231/0.5328, allocations: 0.6018 MB / 1.248 GB, free: 356 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.5329, allocations: 8.031 kB / 1.248 GB, free: 348 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.533, allocations: 23.92 kB / 1.248 GB, free: 324 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.533, allocations: 4 kB / 1.248 GB, free: 320 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.533, allocations: 8 kB / 1.248 GB, free: 312 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.5331, allocations: 0 / 1.248 GB, free: 312 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.5331, allocations: 7.938 kB / 1.248 GB, free: 304 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5413/1.074, allocations: 295.9 kB / 1.248 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004568/1.075, allocations: 120.1 kB / 1.249 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/1.075, allocations: 5.094 kB / 1.249 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005369/1.076, allocations: 13.47 kB / 1.249 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/1.076, allocations: 13.34 kB / 1.249 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/1.076, allocations: 9.094 kB / 1.249 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007089/1.077, allocations: 224.3 kB / 1.249 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.3e-07/1.077, allocations: 1.781 kB / 1.249 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001541/1.078, allocations: 131.3 kB / 1.249 GB, free: 189.5 MB / 0.9981 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.001784/1.08, allocations: 0.8894 MB / 1.25 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001259/1.081, allocations: 253.5 kB / 1.25 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.081, allocations: 3.469 kB / 1.25 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002848/1.082, allocations: 63.75 kB / 1.25 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/1.083, allocations: 129.2 kB / 1.25 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004103/1.087, allocations: 2.802 MB / 1.253 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/1.088, allocations: 0.7746 MB / 1.254 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003591/1.088, allocations: 90.19 kB / 1.254 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/1.088, allocations: 92.22 kB / 1.254 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of SimCode: time 8.11e-07/1.088, allocations: 0 / 1.254 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03128/1.12, allocations: 7.823 MB / 1.261 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/8.855, allocations: 13.62 kB / 1.262 GB, free: 185.7 MB / 0.9981 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