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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008878/0.0008878, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005679/0.005679, allocations: 172.2 kB / 16.26 MB, free: 6.613 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.392/1.392, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.66/2.66, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003445, allocations: 11.67 kB / 0.9029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3146, allocations: 159.6 MB / 1.059 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1683/0.4829, allocations: 165.1 MB / 1.22 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007984/0.491, allocations: 7.237 MB / 1.227 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003322/0.4913, allocations: 11.94 kB / 1.227 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005489/0.4919, allocations: 163 kB / 1.227 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.4931, allocations: 0.5408 MB / 1.228 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.4941, allocations: 377.7 kB / 1.228 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001146/0.4953, allocations: 1.04 MB / 1.229 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003927/0.4957, allocations: 222.3 kB / 1.229 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006676/0.4964, allocations: 338.6 kB / 1.23 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003164/0.4967, allocations: 227 kB / 1.23 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.568e-05/0.4967, allocations: 12 kB / 1.23 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.4979, allocations: 0.7716 MB / 1.231 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.498, allocations: 95.7 kB / 1.231 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.4982, allocations: 172.8 kB / 1.231 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007812/0.499, allocations: 0.5802 MB / 1.231 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.499, allocations: 0 / 1.231 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.499, allocations: 0 / 1.231 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.499, allocations: 0 / 1.231 GB, free: 3.355 MB / 0.9825 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.0008263/0.4998, allocations: 0.5959 MB / 1.232 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.4999, allocations: 11.97 kB / 1.232 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.187e-05/0.5, allocations: 62.48 kB / 1.232 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003393/0.5003, allocations: 67.56 kB / 1.232 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.5007, allocations: 302.1 kB / 1.232 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.5007, allocations: 20.44 kB / 1.232 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.656e-05/0.5007, allocations: 28 kB / 1.232 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004645/0.5012, allocations: 304.6 kB / 1.233 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.5012, allocations: 3.938 kB / 1.233 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.5013, allocations: 8 kB / 1.233 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.5013, allocations: 4 kB / 1.233 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003865/0.5017, allocations: 195.5 kB / 1.233 GB, free: 1.637 MB / 0.9825 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.001598/0.5033, allocations: 1.698 MB / 1.235 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.5035, allocations: 94.56 kB / 1.235 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.5037, allocations: 84.8 kB / 1.235 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002568/0.504, allocations: 194.1 kB / 1.235 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.504, allocations: 38.5 kB / 1.235 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.504, allocations: 0 / 1.235 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0006929/0.5047, allocations: 237.2 kB / 1.235 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.5048, allocations: 55.41 kB / 1.235 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.5051, allocations: 324.4 kB / 1.236 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.5051, allocations: 29.7 kB / 1.236 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.5053, allocations: 195.9 kB / 1.236 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.5053, allocations: 43.39 kB / 1.236 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.5054, allocations: 21.72 kB / 1.236 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.5055, allocations: 342.8 kB / 1.236 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.5057, allocations: 59.91 kB / 1.236 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.5059, allocations: 206.7 kB / 1.236 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.5063, allocations: 241.5 kB / 1.237 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.5063, allocations: 4 kB / 1.237 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005026/0.5068, allocations: 265 kB / 1.237 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.507, allocations: 190.2 kB / 1.237 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.507, allocations: 4 kB / 1.237 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.507, allocations: 4.141 kB / 1.237 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.5072, allocations: 51.91 kB / 1.237 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.5072, allocations: 11.94 kB / 1.237 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.5075, allocations: 39.72 kB / 1.237 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.5076, allocations: 19.98 kB / 1.237 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-06/0.5076, allocations: 4 kB / 1.237 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000409/0.508, allocations: 199.6 kB / 1.237 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.508, allocations: 7.938 kB / 1.237 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.41e-06/0.508, allocations: 7.938 kB / 1.237 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.5082, allocations: 55.91 kB / 1.238 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.5082, allocations: 7.938 kB / 1.238 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.5085, allocations: 44.12 kB / 1.238 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.5085, allocations: 12 kB / 1.238 GB, free: 12.5 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.000165/0.5087, allocations: 229 kB / 1.238 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.5087, allocations: 31.56 kB / 1.238 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003943/0.5091, allocations: 180.4 kB / 1.238 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.5091, allocations: 0 / 1.238 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5091, allocations: 0 / 1.238 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5092, allocations: 4 kB / 1.238 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009172/0.5101, allocations: 0.6248 MB / 1.239 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5101, allocations: 224 / 1.239 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.5102, allocations: 31.98 kB / 1.239 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.5102, allocations: 4 kB / 1.239 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.5103, allocations: 8 kB / 1.239 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.5103, allocations: 4 kB / 1.239 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.5103, allocations: 3.938 kB / 1.239 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004141/0.5107, allocations: 313.6 kB / 1.239 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.5108, allocations: 112.7 kB / 1.239 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.5109, allocations: 8 kB / 1.239 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.5111, allocations: 15.98 kB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.5111, allocations: 19.86 kB / 1.239 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.5112, allocations: 8 kB / 1.239 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002333/0.5114, allocations: 227 kB / 1.239 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5114, allocations: 0 / 1.239 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005559/0.512, allocations: 131.8 kB / 1.239 GB, free: 10.43 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.0009626/0.5129, allocations: 0.9212 MB / 1.24 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005797/0.5135, allocations: 260.2 kB / 1.241 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.096e-06/0.5135, allocations: 4 kB / 1.241 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.5137, allocations: 73.2 kB / 1.241 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000962/0.5147, allocations: 126.7 kB / 1.241 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.5182, allocations: 2.94 MB / 1.244 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.5186, allocations: 0.7719 MB / 1.244 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000305/0.5189, allocations: 87.53 kB / 1.245 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.519, allocations: 87.41 kB / 1.245 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.519, allocations: 0 / 1.245 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4637/0.9827, allocations: 7.469 MB / 1.252 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001263/0.9829, allocations: 235.5 kB / 1.252 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/3.038, allocations: 0.9062 kB / 1.252 GB, free: 191.9 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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