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.005911/0.005911, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001701/0.001701, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.225/1.225, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.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.179/2.179, allocations: 437.1 MB / 0.7106 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 71.84 kB / 1.018 GB, free: 9.82 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5775/0.5792, allocations: 151.6 MB / 1.166 GB, free: 3.691 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1599/0.7391, allocations: 169.5 MB / 1.332 GB, free: 9.578 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007069/0.7462, allocations: 7.319 MB / 1.339 GB, free: 2.234 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.7464, allocations: 15.88 kB / 1.339 GB, free: 2.219 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004884/0.7469, allocations: 210.6 kB / 1.339 GB, free: 2.012 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000992/0.748, allocations: 0.5769 MB / 1.34 GB, free: 1.434 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008361/0.7488, allocations: 426.1 kB / 1.34 GB, free: 1.02 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00072/0.7495, allocations: 0.7051 MB / 1.341 GB, free: 320 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003343/0.7499, allocations: 267.1 kB / 1.341 GB, free: 52 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005204/0.7504, allocations: 382.5 kB / 1.341 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.7507, allocations: 211.1 kB / 1.342 GB, free: 15.47 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.7507, allocations: 20 kB / 1.342 GB, free: 15.45 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009072/0.7516, allocations: 0.7054 MB / 1.342 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.7517, allocations: 107.7 kB / 1.342 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.7519, allocations: 159.2 kB / 1.343 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006677/0.7526, allocations: 0.5758 MB / 1.343 GB, free: 13.91 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.7526, allocations: 3.938 kB / 1.343 GB, free: 13.9 MB / 1.076 GB Notification: Performance of FrontEnd: time 9.91e-07/0.7526, allocations: 0 / 1.343 GB, free: 13.9 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.657e-06/0.7526, allocations: 0 / 1.343 GB, free: 13.9 MB / 1.076 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.0007641/0.7534, allocations: 0.6537 MB / 1.344 GB, free: 13.2 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.811e-05/0.7534, allocations: 12.92 kB / 1.344 GB, free: 13.19 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.685e-05/0.7535, allocations: 62.47 kB / 1.344 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002728/0.7537, allocations: 63.73 kB / 1.344 GB, free: 13.05 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.7541, allocations: 326.3 kB / 1.344 GB, free: 12.7 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.7542, allocations: 16.44 kB / 1.344 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.7542, allocations: 20 kB / 1.344 GB, free: 12.66 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.7546, allocations: 300.6 kB / 1.344 GB, free: 12.33 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.7546, allocations: 3.938 kB / 1.344 GB, free: 12.32 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.7547, allocations: 15.98 kB / 1.344 GB, free: 12.31 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.7547, allocations: 4 kB / 1.344 GB, free: 12.3 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.755, allocations: 185.3 kB / 1.345 GB, free: 12.12 MB / 1.076 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.001423/0.7565, allocations: 1.69 MB / 1.346 GB, free: 10.32 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.7567, allocations: 90.55 kB / 1.346 GB, free: 10.22 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.7568, allocations: 88.67 kB / 1.346 GB, free: 10.13 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002334/0.7571, allocations: 186.2 kB / 1.347 GB, free: 9.91 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.7571, allocations: 34.56 kB / 1.347 GB, free: 9.867 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.011e-06/0.7571, allocations: 0 / 1.347 GB, free: 9.867 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0005687/0.7577, allocations: 225.3 kB / 1.347 GB, free: 9.641 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.7577, allocations: 51.41 kB / 1.347 GB, free: 9.578 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.758, allocations: 324.5 kB / 1.347 GB, free: 9.254 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.758, allocations: 29.7 kB / 1.347 GB, free: 9.219 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.7582, allocations: 200.1 kB / 1.347 GB, free: 9.02 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.7582, allocations: 43.64 kB / 1.348 GB, free: 8.977 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.981e-05/0.7583, allocations: 49.7 kB / 1.348 GB, free: 8.922 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.7584, allocations: 338.8 kB / 1.348 GB, free: 8.582 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.7585, allocations: 68.73 kB / 1.348 GB, free: 8.512 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.7588, allocations: 195.6 kB / 1.348 GB, free: 8.262 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.7591, allocations: 229.4 kB / 1.348 GB, free: 7.988 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.7591, allocations: 8 kB / 1.348 GB, free: 7.98 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000414/0.7595, allocations: 257 kB / 1.349 GB, free: 7.723 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.7596, allocations: 4 kB / 1.349 GB, free: 7.719 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.7596, allocations: 4.406 kB / 1.349 GB, free: 7.715 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.7596, allocations: 8 kB / 1.349 GB, free: 7.707 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.7598, allocations: 47.91 kB / 1.349 GB, free: 7.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.7598, allocations: 8 kB / 1.349 GB, free: 7.652 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.76, allocations: 35.77 kB / 1.349 GB, free: 7.617 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.76, allocations: 12 kB / 1.349 GB, free: 7.605 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002048/0.7602, allocations: 168.1 kB / 1.349 GB, free: 7.438 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000226/0.7604, allocations: 201 kB / 1.349 GB, free: 7.18 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003204/0.7608, allocations: 229.6 kB / 1.349 GB, free: 6.906 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.313e-06/0.7608, allocations: 7.938 kB / 1.349 GB, free: 6.898 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0003986/0.7612, allocations: 249 kB / 1.35 GB, free: 6.648 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.467e-06/0.7612, allocations: 11.98 kB / 1.35 GB, free: 6.637 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.7612, allocations: 4.406 kB / 1.35 GB, free: 6.633 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-06/0.7612, allocations: 8 kB / 1.35 GB, free: 6.625 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.7614, allocations: 47.92 kB / 1.35 GB, free: 6.578 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.7614, allocations: 7.938 kB / 1.35 GB, free: 6.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.7616, allocations: 27.92 kB / 1.35 GB, free: 6.543 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.7616, allocations: 12 kB / 1.35 GB, free: 6.531 MB / 1.076 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.000103/0.7617, allocations: 200.1 kB / 1.35 GB, free: 6.328 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-05/0.7618, allocations: 31.75 kB / 1.35 GB, free: 6.297 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003342/0.7621, allocations: 172.5 kB / 1.35 GB, free: 6.121 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.7621, allocations: 0 / 1.35 GB, free: 6.121 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.7621, allocations: 0 / 1.35 GB, free: 6.121 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7621, allocations: 4 kB / 1.35 GB, free: 6.117 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000779/0.7629, allocations: 0.6054 MB / 1.351 GB, free: 5.434 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.7629, allocations: 4 kB / 1.351 GB, free: 5.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.763, allocations: 27.92 kB / 1.351 GB, free: 5.402 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.763, allocations: 0 / 1.351 GB, free: 5.402 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.7631, allocations: 8.219 kB / 1.351 GB, free: 5.395 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.7631, allocations: 8 kB / 1.351 GB, free: 5.387 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.7631, allocations: 3.938 kB / 1.351 GB, free: 5.383 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.7634, allocations: 305.2 kB / 1.351 GB, free: 5.047 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.206e-05/0.7635, allocations: 116.9 kB / 1.351 GB, free: 4.914 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.7636, allocations: 4 kB / 1.351 GB, free: 4.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.7637, allocations: 11.98 kB / 1.351 GB, free: 4.898 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.7638, allocations: 19.92 kB / 1.351 GB, free: 4.879 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.7638, allocations: 8 kB / 1.351 GB, free: 4.871 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001991/0.764, allocations: 227 kB / 1.351 GB, free: 4.648 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/0.764, allocations: 4 kB / 1.351 GB, free: 4.645 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004516/0.7644, allocations: 127.8 kB / 1.351 GB, free: 4.52 MB / 1.076 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.0008236/0.7653, allocations: 0.9114 MB / 1.352 GB, free: 3.57 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000493/0.7658, allocations: 249 kB / 1.353 GB, free: 3.328 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7658, allocations: 4.062 kB / 1.353 GB, free: 3.324 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.7659, allocations: 59.89 kB / 1.353 GB, free: 3.266 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006112/0.7665, allocations: 113.7 kB / 1.353 GB, free: 3.156 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.7694, allocations: 2.822 MB / 1.356 GB, free: 128 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.7698, allocations: 0.7762 MB / 1.356 GB, free: 15.32 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002042/0.77, allocations: 94.86 kB / 1.356 GB, free: 15.22 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.7701, allocations: 87.41 kB / 1.356 GB, free: 15.14 MB / 1.092 GB Notification: Performance of SimCode: time 3e-07/0.7701, allocations: 3.938 kB / 1.356 GB, free: 15.13 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.328/3.098, allocations: 7.902 MB / 1.364 GB, free: 7.379 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.48/18.58, allocations: 18.14 kB / 1.364 GB, free: 7.367 MB / 1.092 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=400 --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