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.001603/0.001603, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001948/0.001948, allocations: 189.1 kB / 16.25 MB, free: 6.633 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.274/1.274, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.387/2.387, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 66.84 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2291, allocations: 157.4 MB / 1.052 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1468/0.3759, allocations: 167.2 MB / 1.216 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007221/0.3832, allocations: 7.247 MB / 1.223 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003561/0.3836, allocations: 11.94 kB / 1.223 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00056/0.3841, allocations: 183 kB / 1.223 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.3853, allocations: 0.5447 MB / 1.223 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009796/0.3863, allocations: 397.9 kB / 1.224 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008017/0.3871, allocations: 0.7051 MB / 1.225 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003655/0.3875, allocations: 254.9 kB / 1.225 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006173/0.3882, allocations: 382.5 kB / 1.225 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002697/0.3884, allocations: 235 kB / 1.225 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.518e-05/0.3885, allocations: 20 kB / 1.225 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00091/0.3894, allocations: 0.7132 MB / 1.226 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.3895, allocations: 111.7 kB / 1.226 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.3897, allocations: 159.2 kB / 1.226 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007218/0.3904, allocations: 0.5881 MB / 1.227 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.3904, allocations: 0 / 1.227 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3904, allocations: 3.938 kB / 1.227 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.3904, allocations: 4 kB / 1.227 GB, free: 5.301 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.0008112/0.3913, allocations: 0.6504 MB / 1.228 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.3913, allocations: 12.62 kB / 1.228 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.238e-05/0.3914, allocations: 58.47 kB / 1.228 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003191/0.3917, allocations: 63.59 kB / 1.228 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.392, allocations: 306 kB / 1.228 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.3921, allocations: 20.44 kB / 1.228 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.3921, allocations: 20 kB / 1.228 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004402/0.3925, allocations: 300.6 kB / 1.228 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3926, allocations: 3.938 kB / 1.228 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.3926, allocations: 12 kB / 1.228 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.3926, allocations: 4 kB / 1.228 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003431/0.3929, allocations: 187.4 kB / 1.229 GB, free: 3.547 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.001439/0.3944, allocations: 1.694 MB / 1.23 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.3946, allocations: 82.61 kB / 1.23 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.3948, allocations: 88.67 kB / 1.23 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002417/0.395, allocations: 182.2 kB / 1.231 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.3951, allocations: 38.55 kB / 1.231 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.3951, allocations: 0 / 1.231 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0005978/0.3957, allocations: 221.2 kB / 1.231 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.3957, allocations: 51.41 kB / 1.231 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.396, allocations: 332.4 kB / 1.231 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.396, allocations: 25.7 kB / 1.231 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.3962, allocations: 195.9 kB / 1.231 GB, free: 448 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.3962, allocations: 47.33 kB / 1.231 GB, free: 400 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.3963, allocations: 49.7 kB / 1.231 GB, free: 344 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3964, allocations: 334.8 kB / 1.232 GB, free: 0 / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.3965, allocations: 60.81 kB / 1.232 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.3968, allocations: 199.1 kB / 1.232 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.3971, allocations: 233.5 kB / 1.232 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3971, allocations: 4 kB / 1.232 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004217/0.3975, allocations: 253.1 kB / 1.232 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3976, allocations: 13.45 kB / 1.232 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.3976, allocations: 4 kB / 1.232 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3976, allocations: 8 kB / 1.232 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.3978, allocations: 39.92 kB / 1.233 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.3978, allocations: 11.98 kB / 1.233 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.398, allocations: 35.73 kB / 1.233 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.3981, allocations: 16 kB / 1.233 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002092/0.3983, allocations: 173.6 kB / 1.233 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002085/0.3985, allocations: 200.9 kB / 1.233 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003051/0.3988, allocations: 237.5 kB / 1.233 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.3988, allocations: 0 / 1.233 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000403/0.3992, allocations: 253.2 kB / 1.233 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.3992, allocations: 8 kB / 1.233 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/0.3993, allocations: 0 / 1.233 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/0.3993, allocations: 8 kB / 1.233 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.3994, allocations: 47.91 kB / 1.233 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3994, allocations: 8 kB / 1.233 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.3997, allocations: 35.81 kB / 1.234 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.3997, allocations: 12.09 kB / 1.234 GB, free: 13.94 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.0001013/0.3998, allocations: 200.1 kB / 1.234 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.3999, allocations: 31.56 kB / 1.234 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003308/0.4002, allocations: 168.3 kB / 1.234 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4002, allocations: 0 / 1.234 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4002, allocations: 4 kB / 1.234 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4002, allocations: 0 / 1.234 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007764/0.401, allocations: 0.6017 MB / 1.234 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.401, allocations: 8.031 kB / 1.235 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.4011, allocations: 27.98 kB / 1.235 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4011, allocations: 0 / 1.235 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.4012, allocations: 4 kB / 1.235 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.4012, allocations: 7.938 kB / 1.235 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4012, allocations: 3.938 kB / 1.235 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.4015, allocations: 305 kB / 1.235 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.985e-05/0.4016, allocations: 120.7 kB / 1.235 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.4017, allocations: 8 kB / 1.235 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.4019, allocations: 12.17 kB / 1.235 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.4019, allocations: 15.92 kB / 1.235 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.4019, allocations: 7.984 kB / 1.235 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001914/0.4021, allocations: 227 kB / 1.235 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4021, allocations: 0 / 1.235 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000495/0.4026, allocations: 135.8 kB / 1.235 GB, free: 11.93 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.0008008/0.4034, allocations: 0.9105 MB / 1.236 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005049/0.4039, allocations: 244.2 kB / 1.236 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.404, allocations: 0 / 1.236 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.4041, allocations: 69.02 kB / 1.237 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007046/0.4048, allocations: 124.8 kB / 1.237 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002948/0.4078, allocations: 2.888 MB / 1.239 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.4081, allocations: 0.7717 MB / 1.24 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002547/0.4083, allocations: 86.89 kB / 1.24 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.4085, allocations: 91.39 kB / 1.24 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/0.4085, allocations: 0 / 1.24 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.653/4.061, allocations: 7.658 MB / 1.248 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002508/4.061, allocations: 237.3 kB / 1.248 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.982/9.043, allocations: 3.469 kB / 1.248 GB, free: 195.8 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