Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_10_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.001052/0.001052, allocations: 108 kB / 15.6 MB, free: 132 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.001057/0.001057, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.233/1.233, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.328/2.328, allocations: 437.1 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 71.89 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5765/0.5778, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1576/0.7355, allocations: 169.4 MB / 1.183 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007941/0.7435, allocations: 7.322 MB / 1.19 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004799/0.744, allocations: 11.94 kB / 1.19 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006666/0.7447, allocations: 226.6 kB / 1.19 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.7461, allocations: 0.5727 MB / 1.191 GB, free: 248 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.7472, allocations: 432.6 kB / 1.191 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000858/0.7481, allocations: 0.7051 MB / 1.192 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004176/0.7485, allocations: 267.1 kB / 1.192 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006834/0.7492, allocations: 378.5 kB / 1.193 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.7495, allocations: 211.1 kB / 1.193 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.254e-05/0.7496, allocations: 23.94 kB / 1.193 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.7506, allocations: 0.7054 MB / 1.193 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.7507, allocations: 99.7 kB / 1.194 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.7509, allocations: 159.2 kB / 1.194 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007816/0.7517, allocations: 0.5608 MB / 1.194 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.7517, allocations: 4 kB / 1.194 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7517, allocations: 0 / 1.194 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.7517, allocations: 0 / 1.194 GB, free: 12.72 MB / 0.9512 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.0008148/0.7525, allocations: 0.6466 MB / 1.195 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.7526, allocations: 8.031 kB / 1.195 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.081e-05/0.7526, allocations: 58.48 kB / 1.195 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003224/0.753, allocations: 63.58 kB / 1.195 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.7533, allocations: 306.1 kB / 1.195 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.7534, allocations: 16.44 kB / 1.195 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.7534, allocations: 24 kB / 1.195 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.7538, allocations: 300.6 kB / 1.196 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.7539, allocations: 3.938 kB / 1.196 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.7539, allocations: 8 kB / 1.196 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.7539, allocations: 8 kB / 1.196 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003631/0.7543, allocations: 183.5 kB / 1.196 GB, free: 10.98 MB / 0.9512 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.001538/0.7558, allocations: 1.702 MB / 1.197 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.7561, allocations: 86.61 kB / 1.198 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.7562, allocations: 80.75 kB / 1.198 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002493/0.7565, allocations: 186.2 kB / 1.198 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.7565, allocations: 34.5 kB / 1.198 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 2.435e-06/0.7565, allocations: 4 kB / 1.198 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0006366/0.7572, allocations: 225.1 kB / 1.198 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.7572, allocations: 51.41 kB / 1.198 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.7575, allocations: 324.5 kB / 1.198 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.7575, allocations: 25.7 kB / 1.198 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.7577, allocations: 195.8 kB / 1.199 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.7577, allocations: 43.45 kB / 1.199 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.301e-05/0.7578, allocations: 49.7 kB / 1.199 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.828e-05/0.7579, allocations: 334.8 kB / 1.199 GB, free: 7.434 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.758, allocations: 60.81 kB / 1.199 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.7583, allocations: 201 kB / 1.199 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.7586, allocations: 229.5 kB / 1.2 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7586, allocations: 7.938 kB / 1.2 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004587/0.7591, allocations: 264.9 kB / 1.2 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.7591, allocations: 4 kB / 1.2 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.7591, allocations: 4 kB / 1.2 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.7591, allocations: 12.39 kB / 1.2 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.7593, allocations: 51.86 kB / 1.2 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.7594, allocations: 11.98 kB / 1.2 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.7596, allocations: 35.67 kB / 1.2 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.7596, allocations: 12 kB / 1.2 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002182/0.7599, allocations: 168.7 kB / 1.2 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002185/0.7601, allocations: 198.1 kB / 1.2 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003279/0.7604, allocations: 225.5 kB / 1.2 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.006e-06/0.7604, allocations: 4 kB / 1.2 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004281/0.7609, allocations: 252.9 kB / 1.201 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/0.7609, allocations: 8 kB / 1.201 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.7609, allocations: 4 kB / 1.201 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-06/0.7609, allocations: 4.406 kB / 1.201 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.7611, allocations: 55.91 kB / 1.201 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.7611, allocations: 4 kB / 1.201 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.7613, allocations: 27.83 kB / 1.201 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.7613, allocations: 12 kB / 1.201 GB, free: 5.375 MB / 0.9512 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 9.794e-05/0.7614, allocations: 200.2 kB / 1.201 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.7615, allocations: 31.56 kB / 1.201 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000356/0.7618, allocations: 172.3 kB / 1.201 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.7619, allocations: 0 / 1.201 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.7619, allocations: 0 / 1.201 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.7619, allocations: 4 kB / 1.201 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008181/0.7627, allocations: 0.5976 MB / 1.202 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.7627, allocations: 4 kB / 1.202 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.7628, allocations: 27.97 kB / 1.202 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.7628, allocations: 0 / 1.202 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.7629, allocations: 8 kB / 1.202 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.7629, allocations: 8.156 kB / 1.202 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7629, allocations: 8.125 kB / 1.202 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003555/0.7632, allocations: 305 kB / 1.202 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.731e-05/0.7633, allocations: 116.8 kB / 1.202 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.7634, allocations: 4 kB / 1.202 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.7636, allocations: 7.984 kB / 1.202 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.7636, allocations: 11.94 kB / 1.202 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.7636, allocations: 15.98 kB / 1.202 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001977/0.7638, allocations: 223.1 kB / 1.202 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7638, allocations: 0 / 1.202 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005238/0.7644, allocations: 131.7 kB / 1.203 GB, free: 3.375 MB / 0.9512 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.0008181/0.7652, allocations: 0.9048 MB / 1.204 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005266/0.7657, allocations: 252.9 kB / 1.204 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7657, allocations: 0 / 1.204 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.7659, allocations: 64.09 kB / 1.204 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007317/0.7666, allocations: 121.1 kB / 1.204 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/0.7696, allocations: 2.828 MB / 1.207 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.7699, allocations: 0.7717 MB / 1.207 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002609/0.7702, allocations: 82.89 kB / 1.208 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.7703, allocations: 87.41 kB / 1.208 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of SimCode: time 3.6e-07/0.7703, allocations: 0 / 1.208 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3101/1.08, allocations: 7.822 MB / 1.215 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.985/9.066, allocations: 11.92 kB / 1.215 GB, free: 6.312 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches