Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.Density.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Density,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.ports.1..m_flow|senDenVol.d|senDenFlo.d",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.ports.1..m_flow|senDenVol.d|senDenFlo.d",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 107.2 kB / 16.36 MB, free: 5.824 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.001165/0.001165, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 64.56 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2637, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.6943/0.9581, allocations: 185.1 MB / 1.132 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0161/0.9742, allocations: 6.97 MB / 1.139 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002094/0.9764, allocations: 29.25 kB / 1.139 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002008/0.9784, allocations: 397.6 kB / 1.139 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006244/0.9848, allocations: 1.46 MB / 1.14 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005472/0.9902, allocations: 1.162 MB / 1.142 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004591/0.9949, allocations: 1.933 MB / 1.143 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001728/0.9966, allocations: 0.6583 MB / 1.144 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002807/0.9994, allocations: 0.8261 MB / 1.145 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002181/1.002, allocations: 0.6064 MB / 1.146 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000296/1.002, allocations: 68.44 kB / 1.146 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005886/1.008, allocations: 1.925 MB / 1.147 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006376/1.009, allocations: 291 kB / 1.148 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001259/1.01, allocations: 434.7 kB / 1.148 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003976/1.014, allocations: 1.762 MB / 1.15 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/1.014, allocations: 0 / 1.15 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.953e-06/1.014, allocations: 0 / 1.15 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.264e-05/1.014, allocations: 1.5 kB / 1.15 GB, free: 3.27 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002302/1.016, allocations: 1.158 MB / 1.151 GB, free: 18.57 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/1.016, allocations: 13.66 kB / 1.151 GB, free: 18.57 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/1.018, allocations: 271.1 kB / 1.151 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/1.02, allocations: 0.6143 MB / 1.152 GB, free: 18.22 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.621e-05/1.02, allocations: 45.88 kB / 1.152 GB, free: 18.21 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/1.02, allocations: 53.03 kB / 1.152 GB, free: 18.21 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/1.021, allocations: 0.6362 MB / 1.153 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/1.021, allocations: 0 / 1.153 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.376e-05/1.021, allocations: 25.88 kB / 1.153 GB, free: 18.05 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.74e-05/1.021, allocations: 18.88 kB / 1.153 GB, free: 18.05 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/1.023, allocations: 0.5195 MB / 1.153 GB, free: 17.89 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.004179/1.027, allocations: 2.454 MB / 1.156 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009111/1.028, allocations: 356.7 kB / 1.156 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00058/1.028, allocations: 239.7 kB / 1.156 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008319/1.029, allocations: 307.5 kB / 1.156 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/1.029, allocations: 39.97 kB / 1.156 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=39): time 2.996e-06/1.029, allocations: 0 / 1.156 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39): time 0.002115/1.031, allocations: 0.6193 MB / 1.157 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/1.032, allocations: 55.22 kB / 1.157 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009063/1.032, allocations: 0.4933 MB / 1.158 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.999e-05/1.033, allocations: 37.08 kB / 1.158 GB, free: 15 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002795/1.033, allocations: 330.6 kB / 1.158 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/1.033, allocations: 137.3 kB / 1.158 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/1.033, allocations: 90.75 kB / 1.158 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002024/1.033, allocations: 371 kB / 1.159 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004832/1.034, allocations: 173.7 kB / 1.159 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006002/1.035, allocations: 287 kB / 1.159 GB, free: 14 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/1.036, allocations: 450.9 kB / 1.159 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.036, allocations: 0 / 1.159 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001517/1.037, allocations: 0.5206 MB / 1.16 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/1.037, allocations: 7.969 kB / 1.16 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.037, allocations: 2.375 kB / 1.16 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/1.037, allocations: 6.031 kB / 1.16 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/1.038, allocations: 135.8 kB / 1.16 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005169/1.039, allocations: 0.5971 MB / 1.161 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009213/1.04, allocations: 43.14 kB / 1.161 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.062e-05/1.04, allocations: 21.52 kB / 1.161 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007215/1.041, allocations: 358.5 kB / 1.161 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006317/1.041, allocations: 282.5 kB / 1.161 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001067/1.042, allocations: 456.2 kB / 1.162 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.499e-06/1.042, allocations: 0.8594 kB / 1.162 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001371/1.044, allocations: 0.5207 MB / 1.162 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/1.044, allocations: 10.22 kB / 1.162 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.044, allocations: 6.594 kB / 1.162 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/1.044, allocations: 8.75 kB / 1.162 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007569/1.045, allocations: 116.1 kB / 1.162 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/1.045, allocations: 4.062 kB / 1.162 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007233/1.045, allocations: 45.98 kB / 1.162 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/1.045, allocations: 19.06 kB / 1.162 GB, free: 12.03 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002141/1.046, allocations: 208.1 kB / 1.163 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/1.046, allocations: 59.61 kB / 1.163 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/1.047, allocations: 484.8 kB / 1.163 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/1.047, allocations: 5.25 kB / 1.163 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/1.047, allocations: 0 / 1.163 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008514/1.048, allocations: 0.7099 MB / 1.164 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/1.05, allocations: 1.293 MB / 1.165 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/1.05, allocations: 1.375 kB / 1.165 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006591/1.051, allocations: 129.5 kB / 1.165 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/1.051, allocations: 5.766 kB / 1.165 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.266e-05/1.051, allocations: 17.69 kB / 1.165 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003592/1.051, allocations: 0.5914 MB / 1.166 GB, free: 9.695 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.051, allocations: 5.047 kB / 1.166 GB, free: 9.691 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/1.053, allocations: 0.7943 MB / 1.167 GB, free: 9.266 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003871/1.053, allocations: 184.2 kB / 1.167 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/1.053, allocations: 12.69 kB / 1.167 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004707/1.054, allocations: 21.09 kB / 1.167 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.706e-05/1.054, allocations: 29.02 kB / 1.167 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-05/1.054, allocations: 17.27 kB / 1.167 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004218/1.054, allocations: 354.1 kB / 1.167 GB, free: 8.926 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.61e-07/1.054, allocations: 0 / 1.167 GB, free: 8.926 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001194/1.055, allocations: 360.3 kB / 1.168 GB, free: 8.859 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senDenFlo.d) * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004763/1.056, allocations: 202.6 kB / 1.168 GB, free: 8.742 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001531/1.058, allocations: 0.6618 MB / 1.168 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.058, allocations: 5.656 kB / 1.168 GB, free: 8.535 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004254/1.058, allocations: 221 kB / 1.169 GB, free: 8.465 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/1.06, allocations: 365.1 kB / 1.169 GB, free: 8.355 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/1.062, allocations: 1.394 MB / 1.17 GB, free: 7.535 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005682/1.063, allocations: 0.9501 MB / 1.171 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006968/1.063, allocations: 209.8 kB / 1.171 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/1.063, allocations: 51 kB / 1.171 GB, free: 6.754 MB / 0.8731 GB Notification: Performance of SimCode: time 6.91e-07/1.063, allocations: 0 / 1.171 GB, free: 6.754 MB / 0.8731 GB Notification: Performance of Templates: time 0.02115/1.085, allocations: 12.37 MB / 1.184 GB, free: 1.754 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.Density_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_Density.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Density.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches