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.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.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.001553/0.001553, allocations: 108 kB / 15.6 MB, free: 132 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.001832/0.001832, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.385/2.385, allocations: 390.2 MB / 0.6647 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.91 kB / 0.8125 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7512/0.7525, allocations: 140.4 MB / 0.9496 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.2199/0.9724, allocations: 185.1 MB / 1.13 GB, free: 8.074 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01189/0.9843, allocations: 6.982 MB / 1.137 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.9857, allocations: 23.88 kB / 1.137 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.9872, allocations: 401.5 kB / 1.138 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00419/0.9914, allocations: 1.447 MB / 1.139 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003019/0.9945, allocations: 1.15 MB / 1.14 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002522/0.997, allocations: 1.953 MB / 1.142 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000894/0.9979, allocations: 0.6531 MB / 1.143 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0015/0.9994, allocations: 0.8211 MB / 1.143 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/1.001, allocations: 0.5928 MB / 1.144 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/1.001, allocations: 68 kB / 1.144 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003895/1.005, allocations: 1.929 MB / 1.146 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003543/1.005, allocations: 283.2 kB / 1.146 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000532/1.006, allocations: 434 kB / 1.147 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002976/1.009, allocations: 1.749 MB / 1.148 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.009, allocations: 4 kB / 1.148 GB, free: 5.547 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.154e-06/1.009, allocations: 0 / 1.148 GB, free: 5.547 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.233e-05/1.009, allocations: 0 / 1.148 GB, free: 5.547 MB / 0.9044 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.001897/1.011, allocations: 1.153 MB / 1.149 GB, free: 4.34 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/1.011, allocations: 15.97 kB / 1.149 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002/1.013, allocations: 270.8 kB / 1.15 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009824/1.014, allocations: 0.583 MB / 1.15 GB, free: 3.434 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.772e-05/1.014, allocations: 45.31 kB / 1.15 GB, free: 3.391 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/1.014, allocations: 56 kB / 1.15 GB, free: 3.336 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/1.015, allocations: 0.6323 MB / 1.151 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/1.015, allocations: 11.88 kB / 1.151 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.92e-05/1.015, allocations: 20 kB / 1.151 GB, free: 2.656 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.112e-05/1.015, allocations: 17.31 kB / 1.151 GB, free: 2.637 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000958/1.016, allocations: 0.5243 MB / 1.152 GB, free: 2.113 MB / 0.9044 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.003181/1.019, allocations: 2.468 MB / 1.154 GB, free: 15.43 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006905/1.02, allocations: 361.9 kB / 1.154 GB, free: 15.07 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003949/1.02, allocations: 237.4 kB / 1.155 GB, free: 14.84 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005979/1.021, allocations: 311.5 kB / 1.155 GB, free: 14.48 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/1.021, allocations: 38.89 kB / 1.155 GB, free: 14.43 MB / 0.92 GB Notification: Performance of pre-optimization done (n=39): time 2.033e-06/1.021, allocations: 0 / 1.155 GB, free: 14.43 MB / 0.92 GB Notification: Performance of matching and sorting (n=39): time 0.00146/1.022, allocations: 0.6105 MB / 1.155 GB, free: 13.82 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/1.022, allocations: 59.41 kB / 1.156 GB, free: 13.75 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006344/1.023, allocations: 0.495 MB / 1.156 GB, free: 13.24 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/1.023, allocations: 37.7 kB / 1.156 GB, free: 13.2 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/1.023, allocations: 328.4 kB / 1.156 GB, free: 12.87 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/1.024, allocations: 134 kB / 1.156 GB, free: 12.74 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/1.024, allocations: 94.03 kB / 1.157 GB, free: 12.64 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001649/1.024, allocations: 370.7 kB / 1.157 GB, free: 12.27 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003442/1.024, allocations: 174.5 kB / 1.157 GB, free: 12.1 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004203/1.025, allocations: 283.3 kB / 1.157 GB, free: 11.78 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007554/1.025, allocations: 452.2 kB / 1.158 GB, free: 11.31 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.025, allocations: 0 / 1.158 GB, free: 11.31 MB / 0.92 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009363/1.026, allocations: 0.5242 MB / 1.158 GB, free: 10.78 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/1.026, allocations: 4 kB / 1.158 GB, free: 10.77 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/1.026, allocations: 7.984 kB / 1.158 GB, free: 10.77 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/1.026, allocations: 4 kB / 1.158 GB, free: 10.76 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007777/1.027, allocations: 131.8 kB / 1.158 GB, free: 10.63 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003957/1.028, allocations: 0.5977 MB / 1.159 GB, free: 10.01 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005389/1.028, allocations: 47.61 kB / 1.159 GB, free: 9.965 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/1.028, allocations: 23.98 kB / 1.159 GB, free: 9.941 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005384/1.029, allocations: 344.9 kB / 1.159 GB, free: 9.602 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004233/1.029, allocations: 287.4 kB / 1.16 GB, free: 9.281 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007042/1.03, allocations: 452.4 kB / 1.16 GB, free: 8.809 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/1.03, allocations: 0 / 1.16 GB, free: 8.809 MB / 0.92 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009133/1.031, allocations: 0.5316 MB / 1.161 GB, free: 8.27 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/1.031, allocations: 10.03 kB / 1.161 GB, free: 8.262 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/1.031, allocations: 3.938 kB / 1.161 GB, free: 8.258 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.786e-06/1.031, allocations: 11.94 kB / 1.161 GB, free: 8.246 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000531/1.031, allocations: 120.1 kB / 1.161 GB, free: 8.129 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/1.031, allocations: 7.984 kB / 1.161 GB, free: 8.121 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005278/1.032, allocations: 39.67 kB / 1.161 GB, free: 8.082 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/1.032, allocations: 20 kB / 1.161 GB, free: 8.062 MB / 0.92 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.0001992/1.032, allocations: 208.9 kB / 1.161 GB, free: 7.852 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/1.032, allocations: 63.28 kB / 1.161 GB, free: 7.789 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009463/1.033, allocations: 480 kB / 1.162 GB, free: 7.312 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/1.033, allocations: 4.125 kB / 1.162 GB, free: 7.309 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/1.033, allocations: 4 kB / 1.162 GB, free: 7.305 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008627/1.034, allocations: 0.7068 MB / 1.162 GB, free: 6.512 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/1.036, allocations: 1.292 MB / 1.164 GB, free: 5.141 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/1.036, allocations: 4 kB / 1.164 GB, free: 5.137 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006308/1.037, allocations: 120.1 kB / 1.164 GB, free: 5.02 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/1.037, allocations: 4 kB / 1.164 GB, free: 5.016 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/1.037, allocations: 16 kB / 1.164 GB, free: 5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003527/1.037, allocations: 0.5898 MB / 1.164 GB, free: 4.387 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.037, allocations: 0 / 1.164 GB, free: 4.387 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/1.039, allocations: 0.8017 MB / 1.165 GB, free: 3.547 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002584/1.039, allocations: 180.4 kB / 1.165 GB, free: 3.352 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.071e-05/1.039, allocations: 11.94 kB / 1.165 GB, free: 3.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004257/1.039, allocations: 24.67 kB / 1.165 GB, free: 3.316 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9e-05/1.04, allocations: 27.91 kB / 1.165 GB, free: 3.289 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/1.04, allocations: 19.98 kB / 1.165 GB, free: 3.27 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004134/1.04, allocations: 350.8 kB / 1.166 GB, free: 2.93 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/1.04, allocations: 0 / 1.166 GB, free: 2.93 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009995/1.041, allocations: 363.1 kB / 1.166 GB, free: 2.574 MB / 0.92 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.0004943/1.042, allocations: 206.2 kB / 1.166 GB, free: 2.371 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001633/1.043, allocations: 0.7034 MB / 1.167 GB, free: 1.668 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.043, allocations: 0 / 1.167 GB, free: 1.668 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004226/1.044, allocations: 227.8 kB / 1.167 GB, free: 1.445 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/1.045, allocations: 372.6 kB / 1.167 GB, free: 1.09 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/1.048, allocations: 1.405 MB / 1.169 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006559/1.049, allocations: 0.9496 MB / 1.17 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008283/1.05, allocations: 204.9 kB / 1.17 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/1.05, allocations: 47.44 kB / 1.17 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of SimCode: time 1.132e-06/1.05, allocations: 0 / 1.17 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of Templates: time 0.02267/1.072, allocations: 12.4 MB / 1.182 GB, free: 2.207 MB / 0.9356 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Density.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches