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.001362/0.001362, 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.002036/0.002036, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.371/1.371, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.404/2.404, allocations: 390.2 MB / 0.6642 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.89 kB / 0.8119 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.787/0.7882, allocations: 140.3 MB / 0.9489 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2008/0.9891, allocations: 167.2 MB / 1.112 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008191/0.9973, allocations: 7.346 MB / 1.119 GB, free: 2.977 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005266/0.9979, allocations: 7.938 kB / 1.119 GB, free: 2.969 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007456/0.9987, allocations: 175 kB / 1.12 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001418/1, allocations: 0.5408 MB / 1.12 GB, free: 2.254 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/1.001, allocations: 386.6 kB / 1.12 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00102/1.002, allocations: 1.025 MB / 1.121 GB, free: 0.8516 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003562/1.003, allocations: 226.4 kB / 1.122 GB, free: 0.6289 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005925/1.003, allocations: 330.7 kB / 1.122 GB, free: 312 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/1.004, allocations: 247 kB / 1.122 GB, free: 64 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/1.004, allocations: 12 kB / 1.122 GB, free: 52 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/1.005, allocations: 0.7756 MB / 1.123 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/1.005, allocations: 107.5 kB / 1.123 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001518/1.005, allocations: 151.2 kB / 1.123 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0007457/1.006, allocations: 0.5881 MB / 1.124 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.006, allocations: 0 / 1.124 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.22e-07/1.006, allocations: 0 / 1.124 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.367e-06/1.006, allocations: 0 / 1.124 GB, free: 14.43 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.0009212/1.007, allocations: 0.6387 MB / 1.124 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/1.007, allocations: 8.031 kB / 1.124 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003769/1.007, allocations: 63.53 kB / 1.125 GB, free: 13.67 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/1.008, allocations: 306.1 kB / 1.125 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/1.008, allocations: 20.44 kB / 1.125 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.614e-05/1.008, allocations: 27.94 kB / 1.125 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004671/1.008, allocations: 300.6 kB / 1.125 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/1.008, allocations: 0 / 1.125 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/1.008, allocations: 15.94 kB / 1.125 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/1.008, allocations: 8 kB / 1.125 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/1.009, allocations: 171.7 kB / 1.125 GB, free: 12.76 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.001549/1.01, allocations: 1.694 MB / 1.127 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/1.01, allocations: 94.55 kB / 1.127 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/1.011, allocations: 80.84 kB / 1.127 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002743/1.011, allocations: 194.1 kB / 1.127 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/1.011, allocations: 34.5 kB / 1.127 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/1.011, allocations: 0 / 1.127 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.0006778/1.012, allocations: 229.1 kB / 1.128 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/1.012, allocations: 51.41 kB / 1.128 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/1.012, allocations: 312.5 kB / 1.128 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/1.012, allocations: 37.69 kB / 1.128 GB, free: 9.84 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/1.012, allocations: 195.7 kB / 1.128 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/1.012, allocations: 43.55 kB / 1.128 GB, free: 9.602 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.242e-05/1.012, allocations: 45.61 kB / 1.128 GB, free: 9.551 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001049/1.012, allocations: 338.8 kB / 1.129 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/1.013, allocations: 68.67 kB / 1.129 GB, free: 9.141 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/1.013, allocations: 190.5 kB / 1.129 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/1.013, allocations: 233.5 kB / 1.129 GB, free: 8.617 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.013, allocations: 4 kB / 1.129 GB, free: 8.613 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004544/1.014, allocations: 256.8 kB / 1.129 GB, free: 8.355 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/1.014, allocations: 11.94 kB / 1.129 GB, free: 8.344 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.014, allocations: 4 kB / 1.129 GB, free: 8.34 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/1.014, allocations: 4 kB / 1.129 GB, free: 8.336 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/1.014, allocations: 56.31 kB / 1.129 GB, free: 8.281 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/1.014, allocations: 4 kB / 1.129 GB, free: 8.277 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/1.014, allocations: 39.77 kB / 1.129 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/1.014, allocations: 11.98 kB / 1.129 GB, free: 8.227 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002221/1.014, allocations: 168.1 kB / 1.13 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002279/1.015, allocations: 194.9 kB / 1.13 GB, free: 7.809 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003377/1.015, allocations: 233.6 kB / 1.13 GB, free: 7.531 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.904e-06/1.015, allocations: 0 / 1.13 GB, free: 7.531 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004367/1.016, allocations: 256.8 kB / 1.13 GB, free: 7.273 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/1.016, allocations: 11.88 kB / 1.13 GB, free: 7.262 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/1.016, allocations: 4 kB / 1.13 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.558e-06/1.016, allocations: 4.406 kB / 1.13 GB, free: 7.254 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/1.016, allocations: 47.92 kB / 1.13 GB, free: 7.207 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/1.016, allocations: 12.12 kB / 1.13 GB, free: 7.195 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/1.016, allocations: 31.83 kB / 1.13 GB, free: 7.164 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/1.016, allocations: 16 kB / 1.13 GB, free: 7.148 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.0001021/1.016, allocations: 188.2 kB / 1.131 GB, free: 6.957 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/1.016, allocations: 35.56 kB / 1.131 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003822/1.017, allocations: 176.8 kB / 1.131 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.017, allocations: 0 / 1.131 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.017, allocations: 0 / 1.131 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/1.017, allocations: 0 / 1.131 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008557/1.017, allocations: 0.6054 MB / 1.131 GB, free: 6.062 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.017, allocations: 4 kB / 1.131 GB, free: 6.059 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/1.018, allocations: 23.92 kB / 1.131 GB, free: 6.035 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.018, allocations: 7.938 kB / 1.131 GB, free: 6.027 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/1.018, allocations: 12.22 kB / 1.131 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/1.018, allocations: 3.984 kB / 1.131 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.018, allocations: 7.938 kB / 1.131 GB, free: 6.004 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/1.018, allocations: 305.1 kB / 1.132 GB, free: 5.668 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 9.179e-05/1.018, allocations: 108.8 kB / 1.132 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/1.018, allocations: 3.984 kB / 1.132 GB, free: 5.539 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/1.018, allocations: 23.89 kB / 1.132 GB, free: 5.516 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/1.018, allocations: 15.92 kB / 1.132 GB, free: 5.5 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-06/1.018, allocations: 8 kB / 1.132 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002054/1.019, allocations: 223.1 kB / 1.132 GB, free: 5.277 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.21e-07/1.019, allocations: 0 / 1.132 GB, free: 5.277 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005581/1.019, allocations: 139.8 kB / 1.132 GB, free: 5.141 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.0003687/1.02, allocations: 164.1 kB / 1.132 GB, free: 4.977 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.000546/1.02, allocations: 244.9 kB / 1.133 GB, free: 4.738 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.02, allocations: 3.938 kB / 1.133 GB, free: 4.734 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/1.02, allocations: 68.14 kB / 1.133 GB, free: 4.668 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009233/1.021, allocations: 136 kB / 1.133 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000804/1.022, allocations: 0.5809 MB / 1.133 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/1.022, allocations: 0.7758 MB / 1.134 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002702/1.023, allocations: 83.55 kB / 1.134 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/1.023, allocations: 35.36 kB / 1.134 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of SimCode: time 2.61e-07/1.023, allocations: 0 / 1.134 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of Templates: time 0.008867/1.032, allocations: 4.749 MB / 1.139 GB, free: 14.31 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