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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001256/0.001256, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00144/0.00144, allocations: 195 kB / 16.14 MB, free: 6.656 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.45/1.45, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 437 MB / 0.7099 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 63.91 kB / 0.8687 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7468/0.7489, allocations: 151.6 MB / 1.017 GB, free: 2.953 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2017/0.9506, allocations: 167.2 MB / 1.18 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01352/0.9642, allocations: 7.348 MB / 1.187 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007449/0.965, allocations: 11.94 kB / 1.187 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.9661, allocations: 175 kB / 1.187 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.9682, allocations: 0.5408 MB / 1.188 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.9699, allocations: 378.6 kB / 1.188 GB, free: 2.656 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001877/0.9718, allocations: 1.029 MB / 1.189 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005051/0.9723, allocations: 222.4 kB / 1.189 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008469/0.9732, allocations: 350.6 kB / 1.19 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004187/0.9736, allocations: 223 kB / 1.19 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.095e-05/0.9737, allocations: 16 kB / 1.19 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.9751, allocations: 0.7794 MB / 1.191 GB, free: 44 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.9753, allocations: 99.7 kB / 1.191 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.9755, allocations: 155.1 kB / 1.191 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009769/0.9765, allocations: 0.5842 MB / 1.192 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.9765, allocations: 8 kB / 1.192 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.022e-06/0.9765, allocations: 0 / 1.192 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.9766, allocations: 0 / 1.192 GB, free: 15.2 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.001065/0.9776, allocations: 0.6388 MB / 1.192 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.9777, allocations: 8.031 kB / 1.192 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.264e-05/0.9778, allocations: 62.47 kB / 1.192 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004047/0.9782, allocations: 63.58 kB / 1.192 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005061/0.9787, allocations: 306.1 kB / 1.193 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.9787, allocations: 16.44 kB / 1.193 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.247e-05/0.9788, allocations: 24 kB / 1.193 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006927/0.9795, allocations: 300.6 kB / 1.193 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.9795, allocations: 7.938 kB / 1.193 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.9796, allocations: 8 kB / 1.193 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.9796, allocations: 8 kB / 1.193 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005492/0.9802, allocations: 179.4 kB / 1.193 GB, free: 13.46 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.002554/0.9827, allocations: 1.702 MB / 1.195 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004529/0.9832, allocations: 86.61 kB / 1.195 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.9834, allocations: 80.75 kB / 1.195 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003838/0.9838, allocations: 190.2 kB / 1.195 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.9839, allocations: 34.55 kB / 1.195 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 2.224e-06/0.9839, allocations: 3.938 kB / 1.195 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.001009/0.9849, allocations: 217.2 kB / 1.195 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.985, allocations: 59.41 kB / 1.195 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004741/0.9855, allocations: 316.5 kB / 1.196 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.9855, allocations: 29.7 kB / 1.196 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.9857, allocations: 199.8 kB / 1.196 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.664e-05/0.9858, allocations: 39.45 kB / 1.196 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.9859, allocations: 49.7 kB / 1.196 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.9861, allocations: 338.8 kB / 1.196 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.9863, allocations: 64.81 kB / 1.196 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.9867, allocations: 193.1 kB / 1.197 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005364/0.9873, allocations: 233.5 kB / 1.197 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.9873, allocations: 3.938 kB / 1.197 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007307/0.988, allocations: 257 kB / 1.197 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.9881, allocations: 13.86 kB / 1.197 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.9881, allocations: 4 kB / 1.197 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.9881, allocations: 4.141 kB / 1.197 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.9884, allocations: 51.86 kB / 1.197 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.9884, allocations: 7.984 kB / 1.197 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004237/0.9889, allocations: 43.81 kB / 1.197 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.336e-05/0.9889, allocations: 16 kB / 1.197 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003354/0.9893, allocations: 168.1 kB / 1.197 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003444/0.9896, allocations: 194.5 kB / 1.198 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004694/0.9901, allocations: 233.5 kB / 1.198 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.689e-06/0.9901, allocations: 4 kB / 1.198 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007247/0.9909, allocations: 249 kB / 1.198 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.9909, allocations: 8 kB / 1.198 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.9909, allocations: 4 kB / 1.198 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.9909, allocations: 4 kB / 1.198 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.9912, allocations: 47.91 kB / 1.198 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.9912, allocations: 4 kB / 1.198 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.9916, allocations: 40.12 kB / 1.198 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.9916, allocations: 16 kB / 1.198 GB, free: 7.855 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 0.0001565/0.9918, allocations: 192.2 kB / 1.198 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.9919, allocations: 31.56 kB / 1.198 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005166/0.9924, allocations: 180.4 kB / 1.199 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.9925, allocations: 0 / 1.199 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.9925, allocations: 4 kB / 1.199 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.9925, allocations: 0 / 1.199 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.9938, allocations: 0.6093 MB / 1.199 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.9938, allocations: 0 / 1.199 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.994, allocations: 23.98 kB / 1.199 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.988e-06/0.994, allocations: 4 kB / 1.199 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.994, allocations: 11.94 kB / 1.199 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.994, allocations: 0 / 1.199 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.427e-05/0.9941, allocations: 7.938 kB / 1.199 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005356/0.9946, allocations: 305.5 kB / 1.2 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.9948, allocations: 116.7 kB / 1.2 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.697e-05/0.9948, allocations: 4 kB / 1.2 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/0.9951, allocations: 15.98 kB / 1.2 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.762e-05/0.9952, allocations: 19.86 kB / 1.2 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.9953, allocations: 8 kB / 1.2 GB, free: 6.191 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003319/0.9956, allocations: 231 kB / 1.2 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9956, allocations: 0 / 1.2 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009296/0.9965, allocations: 135.7 kB / 1.2 GB, free: 5.832 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.001344/0.9979, allocations: 0.8948 MB / 1.201 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008588/0.9988, allocations: 241.1 kB / 1.201 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.9988, allocations: 0 / 1.201 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002473/0.999, allocations: 68.33 kB / 1.201 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/1, allocations: 141.4 kB / 1.201 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005241/1.006, allocations: 2.887 MB / 1.204 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006426/1.006, allocations: 0.7719 MB / 1.205 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004943/1.007, allocations: 82.89 kB / 1.205 GB, free: 500 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/1.007, allocations: 87.41 kB / 1.205 GB, free: 412 kB / 0.9512 GB Notification: Performance of SimCode: time 8.92e-07/1.007, allocations: 3.938 kB / 1.205 GB, free: 408 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/1.032, allocations: 7.597 MB / 1.212 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/1.032, allocations: 228.7 kB / 1.213 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/3.024, allocations: 4 kB / 1.213 GB, free: 8.703 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