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.001309/0.001309, allocations: 103 kB / 16.27 MB, free: 6.414 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.001316/0.001317, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.343/1.343, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.228/2.228, allocations: 390.3 MB / 0.6653 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002308, allocations: 63.78 kB / 0.8132 GB, free: 32.96 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3162, allocations: 140.4 MB / 0.9503 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.7884/1.105, allocations: 169.5 MB / 1.116 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008706/1.113, allocations: 7.314 MB / 1.123 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008417/1.114, allocations: 18.09 kB / 1.123 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008749/1.115, allocations: 212.7 kB / 1.123 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00198/1.117, allocations: 0.5741 MB / 1.124 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001649/1.119, allocations: 429.1 kB / 1.124 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001282/1.12, allocations: 0.7053 MB / 1.125 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005179/1.121, allocations: 268.5 kB / 1.125 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/1.122, allocations: 384.3 kB / 1.125 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003602/1.122, allocations: 214.7 kB / 1.126 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.725e-05/1.122, allocations: 18.56 kB / 1.126 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/1.124, allocations: 0.7029 MB / 1.126 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001585/1.124, allocations: 106.7 kB / 1.126 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002199/1.124, allocations: 160 kB / 1.127 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00112/1.125, allocations: 0.5584 MB / 1.127 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.125, allocations: 1.609 kB / 1.127 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/1.125, allocations: 5.156 kB / 1.127 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.546e-06/1.125, allocations: 0 / 1.127 GB, free: 5.203 MB / 0.8575 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.001286/1.127, allocations: 0.6426 MB / 1.128 GB, free: 20.72 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/1.127, allocations: 10.53 kB / 1.128 GB, free: 20.72 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003956/1.127, allocations: 61.66 kB / 1.128 GB, free: 20.7 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/1.128, allocations: 304.3 kB / 1.128 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/1.128, allocations: 21.56 kB / 1.128 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/1.128, allocations: 22.59 kB / 1.128 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005701/1.128, allocations: 302.8 kB / 1.128 GB, free: 20.33 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/1.128, allocations: 1.438 kB / 1.128 GB, free: 20.33 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/1.128, allocations: 13.94 kB / 1.128 GB, free: 20.33 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/1.128, allocations: 5.688 kB / 1.128 GB, free: 20.33 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004467/1.129, allocations: 173.1 kB / 1.129 GB, free: 20.33 MB / 0.8731 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.001974/1.131, allocations: 1.704 MB / 1.13 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/1.131, allocations: 84.3 kB / 1.13 GB, free: 19 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/1.131, allocations: 81.5 kB / 1.13 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000304/1.132, allocations: 188.3 kB / 1.131 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/1.132, allocations: 41.59 kB / 1.131 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/1.132, allocations: 1.203 kB / 1.131 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.0007116/1.132, allocations: 216.6 kB / 1.131 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/1.132, allocations: 59.72 kB / 1.131 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003587/1.133, allocations: 316.3 kB / 1.131 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/1.133, allocations: 34.05 kB / 1.131 GB, free: 18.51 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/1.133, allocations: 199.5 kB / 1.131 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.707e-05/1.133, allocations: 37.36 kB / 1.131 GB, free: 18.36 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.133e-05/1.133, allocations: 49.73 kB / 1.132 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001552/1.133, allocations: 336 kB / 1.132 GB, free: 18.03 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/1.134, allocations: 70.69 kB / 1.132 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003226/1.134, allocations: 200.4 kB / 1.132 GB, free: 17.85 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004249/1.134, allocations: 233.3 kB / 1.132 GB, free: 17.71 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/1.134, allocations: 1.062 kB / 1.132 GB, free: 17.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000521/1.135, allocations: 257 kB / 1.133 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/1.135, allocations: 7.047 kB / 1.133 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.135, allocations: 3.625 kB / 1.133 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/1.135, allocations: 5.688 kB / 1.133 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/1.135, allocations: 50.45 kB / 1.133 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/1.135, allocations: 7.75 kB / 1.133 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/1.135, allocations: 35.83 kB / 1.133 GB, free: 17.65 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/1.135, allocations: 12.55 kB / 1.133 GB, free: 17.65 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002451/1.136, allocations: 173.5 kB / 1.133 GB, free: 17.56 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002255/1.136, allocations: 195.5 kB / 1.133 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003302/1.136, allocations: 229 kB / 1.133 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.435e-06/1.136, allocations: 2.125 kB / 1.133 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004791/1.137, allocations: 252.2 kB / 1.133 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/1.137, allocations: 10.91 kB / 1.134 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/1.137, allocations: 3.875 kB / 1.134 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.617e-06/1.137, allocations: 4.5 kB / 1.134 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/1.137, allocations: 48.47 kB / 1.134 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/1.137, allocations: 6.219 kB / 1.134 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/1.137, allocations: 29.55 kB / 1.134 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/1.137, allocations: 17.02 kB / 1.134 GB, free: 17.21 MB / 0.8731 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.0001502/1.137, allocations: 201.7 kB / 1.134 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.935e-05/1.138, allocations: 36.58 kB / 1.134 GB, free: 17 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000399/1.138, allocations: 166 kB / 1.134 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/1.138, allocations: 1 kB / 1.134 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/1.138, allocations: 1.062 kB / 1.134 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.138, allocations: 0 / 1.134 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009811/1.139, allocations: 0.6039 MB / 1.135 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.139, allocations: 4.844 kB / 1.135 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/1.139, allocations: 30.28 kB / 1.135 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/1.139, allocations: 4.422 kB / 1.135 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/1.139, allocations: 6.281 kB / 1.135 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/1.139, allocations: 3.531 kB / 1.135 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.139, allocations: 1.406 kB / 1.135 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003986/1.14, allocations: 312 kB / 1.135 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/1.14, allocations: 109.4 kB / 1.135 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/1.14, allocations: 4.75 kB / 1.135 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/1.14, allocations: 16.12 kB / 1.135 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/1.14, allocations: 12.7 kB / 1.135 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/1.14, allocations: 11.41 kB / 1.135 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002375/1.14, allocations: 229.5 kB / 1.135 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.1e-07/1.14, allocations: 0 / 1.135 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006453/1.141, allocations: 136.4 kB / 1.135 GB, free: 16.17 MB / 0.8731 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.0004624/1.141, allocations: 163.2 kB / 1.136 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005932/1.142, allocations: 253 kB / 1.136 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.142, allocations: 4.062 kB / 1.136 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/1.142, allocations: 63.36 kB / 1.136 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008404/1.143, allocations: 129.6 kB / 1.136 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008966/1.144, allocations: 0.5251 MB / 1.137 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/1.144, allocations: 0.7764 MB / 1.137 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.633e-05/1.144, allocations: 29.36 kB / 1.137 GB, free: 15 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/1.144, allocations: 0 / 1.137 GB, free: 15 MB / 0.8731 GB Notification: Performance of Templates: time 0.00774/1.152, allocations: 4.449 MB / 1.142 GB, free: 14.6 MB / 0.8731 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches