Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 108 kB / 15.61 MB, free: 152 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.001267/0.001266, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.453/1.453, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 390.2 MB / 0.6647 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 63.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7203/0.7217, allocations: 140.4 MB / 0.9496 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2409/0.9627, allocations: 169.4 MB / 1.115 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01124/0.974, allocations: 7.327 MB / 1.122 GB, free: 464 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000795/0.9749, allocations: 15.94 kB / 1.122 GB, free: 448 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.976, allocations: 210.6 kB / 1.122 GB, free: 236 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002181/0.9782, allocations: 0.5717 MB / 1.123 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.9799, allocations: 429.4 kB / 1.123 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001173/0.9811, allocations: 0.7051 MB / 1.124 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000488/0.9816, allocations: 263.1 kB / 1.124 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008015/0.9824, allocations: 382.5 kB / 1.125 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002976/0.9827, allocations: 215 kB / 1.125 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.725e-05/0.9828, allocations: 24 kB / 1.125 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.9841, allocations: 0.6976 MB / 1.126 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.9843, allocations: 107.7 kB / 1.126 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.9845, allocations: 151.2 kB / 1.126 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0008831/0.9854, allocations: 0.5685 MB / 1.126 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.9854, allocations: 0 / 1.126 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9854, allocations: 0 / 1.126 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.9854, allocations: 0 / 1.126 GB, free: 12.14 MB / 0.8887 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.0009753/0.9864, allocations: 0.6387 MB / 1.127 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.9864, allocations: 12.03 kB / 1.127 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000385/0.9868, allocations: 67.52 kB / 1.127 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.9873, allocations: 302.2 kB / 1.127 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.9873, allocations: 24.31 kB / 1.127 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.9874, allocations: 20 kB / 1.127 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005009/0.9879, allocations: 308.6 kB / 1.128 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.9879, allocations: 4 kB / 1.128 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.9879, allocations: 7.938 kB / 1.128 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.9879, allocations: 8 kB / 1.128 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003781/0.9883, allocations: 179.7 kB / 1.128 GB, free: 10.46 MB / 0.8887 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.001795/0.9901, allocations: 1.698 MB / 1.13 GB, free: 8.637 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.9904, allocations: 90.61 kB / 1.13 GB, free: 8.539 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.9906, allocations: 76.81 kB / 1.13 GB, free: 8.461 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003053/0.9909, allocations: 190.1 kB / 1.13 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.9909, allocations: 34.56 kB / 1.13 GB, free: 8.195 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.763e-06/0.991, allocations: 0 / 1.13 GB, free: 8.195 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.0007753/0.9917, allocations: 233 kB / 1.13 GB, free: 7.961 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.9918, allocations: 51.41 kB / 1.13 GB, free: 7.898 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.9921, allocations: 316.5 kB / 1.131 GB, free: 7.582 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.9922, allocations: 33.7 kB / 1.131 GB, free: 7.543 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.9923, allocations: 199.7 kB / 1.131 GB, free: 7.344 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.289e-05/0.9924, allocations: 43.53 kB / 1.131 GB, free: 7.301 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.527e-05/0.9925, allocations: 49.61 kB / 1.131 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.9926, allocations: 338.8 kB / 1.131 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.9928, allocations: 64.67 kB / 1.131 GB, free: 6.84 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/0.9931, allocations: 198.5 kB / 1.131 GB, free: 6.586 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/0.9935, allocations: 237.5 kB / 1.132 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.9935, allocations: 4 kB / 1.132 GB, free: 6.301 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000493/0.994, allocations: 260.8 kB / 1.132 GB, free: 6.039 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.994, allocations: 4 kB / 1.132 GB, free: 6.035 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.994, allocations: 4 kB / 1.132 GB, free: 6.031 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.994, allocations: 4 kB / 1.132 GB, free: 6.027 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.9942, allocations: 48.33 kB / 1.132 GB, free: 5.98 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.9943, allocations: 7.984 kB / 1.132 GB, free: 5.973 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.9945, allocations: 35.77 kB / 1.132 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/0.9946, allocations: 16 kB / 1.132 GB, free: 5.922 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000249/0.9948, allocations: 168.1 kB / 1.132 GB, free: 5.754 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002461/0.9951, allocations: 192.9 kB / 1.132 GB, free: 5.508 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003803/0.9955, allocations: 229.5 kB / 1.133 GB, free: 5.234 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.106e-06/0.9955, allocations: 0 / 1.133 GB, free: 5.234 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004589/0.9959, allocations: 264.9 kB / 1.133 GB, free: 4.969 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.996, allocations: 11.94 kB / 1.133 GB, free: 4.957 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.996, allocations: 4 kB / 1.133 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.143e-06/0.996, allocations: 8 kB / 1.133 GB, free: 4.945 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.9962, allocations: 48.31 kB / 1.133 GB, free: 4.898 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.9962, allocations: 8 kB / 1.133 GB, free: 4.891 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.9964, allocations: 27.83 kB / 1.133 GB, free: 4.863 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.9965, allocations: 12 kB / 1.133 GB, free: 4.852 MB / 0.8887 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.0001424/0.9966, allocations: 197 kB / 1.133 GB, free: 4.652 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.705e-05/0.9967, allocations: 35.56 kB / 1.133 GB, free: 4.617 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004002/0.9971, allocations: 164.4 kB / 1.133 GB, free: 4.453 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.9971, allocations: 0 / 1.133 GB, free: 4.453 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.9971, allocations: 3.938 kB / 1.133 GB, free: 4.449 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.9971, allocations: 0 / 1.133 GB, free: 4.449 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009779/0.9981, allocations: 0.6093 MB / 1.134 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.9981, allocations: 4 kB / 1.134 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.9982, allocations: 27.91 kB / 1.134 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.9982, allocations: 4 kB / 1.134 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.9983, allocations: 4 kB / 1.134 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.9983, allocations: 4.094 kB / 1.134 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.9983, allocations: 8.156 kB / 1.134 GB, free: 3.711 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003973/0.9987, allocations: 301.1 kB / 1.134 GB, free: 3.379 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.9988, allocations: 120.7 kB / 1.134 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.9989, allocations: 0 / 1.134 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.999, allocations: 15.98 kB / 1.134 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.982e-05/0.9991, allocations: 11.92 kB / 1.134 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.9991, allocations: 4 kB / 1.134 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002529/0.9994, allocations: 227.1 kB / 1.135 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9994, allocations: 0 / 1.135 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006377/1, allocations: 139.7 kB / 1.135 GB, free: 2.855 MB / 0.8887 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.0004641/1.001, allocations: 175.5 kB / 1.135 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0006223/1.001, allocations: 244.8 kB / 1.135 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.001, allocations: 0 / 1.135 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/1.001, allocations: 65.08 kB / 1.135 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008551/1.002, allocations: 121.5 kB / 1.135 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000943/1.003, allocations: 0.4894 MB / 1.136 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/1.004, allocations: 0.7833 MB / 1.137 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002932/1.004, allocations: 91.53 kB / 1.137 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.522e-05/1.004, allocations: 23.44 kB / 1.137 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of SimCode: time 3.31e-07/1.004, allocations: 0 / 1.137 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of Templates: time 0.01057/1.015, allocations: 4.876 MB / 1.141 GB, free: 12 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches