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.0009788/0.0009786, allocations: 92.78 kB / 16.02 MB, free: 80 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.001227/0.001227, allocations: 180.1 kB / 16.92 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.441/1.441, allocations: 223.3 MB / 241 MB, free: 5.309 MB / 190.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.481/2.481, allocations: 390.9 MB / 0.667 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003821, allocations: 16 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7772/0.7776, allocations: 142.4 MB / 0.9557 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.2166/0.9942, allocations: 180.4 MB / 1.132 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01147/1.006, allocations: 6.964 MB / 1.139 GB, free: 3.324 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/1.007, allocations: 27.81 kB / 1.139 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/1.008, allocations: 334.2 kB / 1.139 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004434/1.013, allocations: 1.366 MB / 1.14 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00357/1.016, allocations: 1.057 MB / 1.141 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00357/1.02, allocations: 2.71 MB / 1.144 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/1.021, allocations: 0.5395 MB / 1.145 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/1.023, allocations: 0.7119 MB / 1.145 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00167/1.025, allocations: 0.6124 MB / 1.146 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001793/1.025, allocations: 28 kB / 1.146 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004373/1.029, allocations: 2.19 MB / 1.148 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004849/1.03, allocations: 243.3 kB / 1.148 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008888/1.031, allocations: 407.7 kB / 1.149 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002432/1.033, allocations: 1.259 MB / 1.15 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/1.033, allocations: 0 / 1.15 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.174e-06/1.033, allocations: 4 kB / 1.15 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.253e-05/1.033, allocations: 4 kB / 1.15 GB, free: 7.805 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.002371/1.036, allocations: 1.017 MB / 1.151 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.036, allocations: 12.03 kB / 1.151 GB, free: 6.727 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/1.038, allocations: 270.8 kB / 1.151 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/1.039, allocations: 0.5715 MB / 1.152 GB, free: 5.848 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.251e-05/1.039, allocations: 41.31 kB / 1.152 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/1.039, allocations: 59.91 kB / 1.152 GB, free: 5.75 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/1.04, allocations: 0.6439 MB / 1.152 GB, free: 5.09 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/1.04, allocations: 0 / 1.152 GB, free: 5.09 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.401e-05/1.04, allocations: 24 kB / 1.152 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.144e-05/1.04, allocations: 17.31 kB / 1.152 GB, free: 5.051 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009679/1.041, allocations: 0.536 MB / 1.153 GB, free: 4.512 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.003249/1.044, allocations: 2.461 MB / 1.155 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006764/1.045, allocations: 364.8 kB / 1.156 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004089/1.046, allocations: 241.4 kB / 1.156 GB, free: 1.23 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006098/1.046, allocations: 327.5 kB / 1.156 GB, free: 0.8555 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/1.046, allocations: 42.89 kB / 1.156 GB, free: 0.8047 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=39): time 2.164e-06/1.046, allocations: 0 / 1.156 GB, free: 0.8047 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39): time 0.001494/1.048, allocations: 0.6262 MB / 1.157 GB, free: 176 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/1.048, allocations: 55.41 kB / 1.157 GB, free: 108 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006545/1.048, allocations: 0.4989 MB / 1.157 GB, free: 15.59 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.583e-05/1.049, allocations: 33.7 kB / 1.158 GB, free: 15.55 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/1.049, allocations: 324.5 kB / 1.158 GB, free: 15.23 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/1.049, allocations: 138 kB / 1.158 GB, free: 15.1 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.137e-05/1.049, allocations: 45.69 kB / 1.158 GB, free: 15.05 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001666/1.049, allocations: 370.8 kB / 1.158 GB, free: 14.68 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/1.05, allocations: 172.7 kB / 1.159 GB, free: 14.51 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000421/1.05, allocations: 291.4 kB / 1.159 GB, free: 14.19 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007576/1.051, allocations: 460.2 kB / 1.159 GB, free: 13.71 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.051, allocations: 0 / 1.159 GB, free: 13.71 MB / 0.92 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009913/1.052, allocations: 0.5359 MB / 1.16 GB, free: 13.16 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/1.052, allocations: 156.7 kB / 1.16 GB, free: 12.98 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/1.052, allocations: 4 kB / 1.16 GB, free: 12.97 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/1.052, allocations: 7.938 kB / 1.16 GB, free: 12.96 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007624/1.053, allocations: 139.8 kB / 1.16 GB, free: 12.83 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005054/1.053, allocations: 0.5977 MB / 1.161 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007063/1.054, allocations: 79.58 kB / 1.161 GB, free: 12.13 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/1.054, allocations: 20 kB / 1.161 GB, free: 12.11 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/1.054, allocations: 4 kB / 1.161 GB, free: 12.11 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008204/1.055, allocations: 467.8 kB / 1.161 GB, free: 11.65 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.055, allocations: 8.281 kB / 1.161 GB, free: 11.64 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/1.055, allocations: 7.938 kB / 1.161 GB, free: 11.63 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005091/1.055, allocations: 127.8 kB / 1.161 GB, free: 11.51 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/1.055, allocations: 7.984 kB / 1.161 GB, free: 11.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006142/1.056, allocations: 79.58 kB / 1.161 GB, free: 11.42 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/1.056, allocations: 20 kB / 1.161 GB, free: 11.4 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.0003961/1.056, allocations: 308.9 kB / 1.162 GB, free: 11.09 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.694e-05/1.057, allocations: 59.25 kB / 1.162 GB, free: 11.03 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009602/1.058, allocations: 0.496 MB / 1.162 GB, free: 10.53 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/1.058, allocations: 4.062 kB / 1.162 GB, free: 10.52 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/1.058, allocations: 4 kB / 1.162 GB, free: 10.52 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008399/1.058, allocations: 0.7147 MB / 1.163 GB, free: 9.719 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/1.06, allocations: 1.293 MB / 1.164 GB, free: 8.348 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/1.061, allocations: 4 kB / 1.164 GB, free: 8.344 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000645/1.061, allocations: 136.1 kB / 1.164 GB, free: 8.211 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/1.061, allocations: 4 kB / 1.164 GB, free: 8.207 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/1.061, allocations: 8 kB / 1.164 GB, free: 8.199 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003367/1.062, allocations: 0.5976 MB / 1.165 GB, free: 7.578 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.062, allocations: 7.969 kB / 1.165 GB, free: 7.57 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/1.063, allocations: 0.8018 MB / 1.166 GB, free: 6.73 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002494/1.063, allocations: 176.4 kB / 1.166 GB, free: 6.539 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.677e-05/1.063, allocations: 16 kB / 1.166 GB, free: 6.523 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005194/1.064, allocations: 51.83 kB / 1.166 GB, free: 6.473 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.221e-05/1.064, allocations: 31.84 kB / 1.166 GB, free: 6.441 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/1.064, allocations: 23.98 kB / 1.166 GB, free: 6.418 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004074/1.064, allocations: 350.8 kB / 1.166 GB, free: 6.078 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/1.064, allocations: 0 / 1.166 GB, free: 6.078 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009912/1.065, allocations: 363.1 kB / 1.167 GB, free: 5.723 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.0004706/1.066, allocations: 205.4 kB / 1.167 GB, free: 5.523 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001542/1.067, allocations: 0.6884 MB / 1.168 GB, free: 4.836 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.067, allocations: 0 / 1.168 GB, free: 4.836 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004513/1.068, allocations: 224.6 kB / 1.168 GB, free: 4.617 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/1.07, allocations: 369.6 kB / 1.168 GB, free: 4.262 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/1.072, allocations: 1.779 MB / 1.17 GB, free: 2.426 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005536/1.073, allocations: 0.9496 MB / 1.171 GB, free: 1.449 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/1.073, allocations: 51.44 kB / 1.171 GB, free: 1.398 MB / 0.92 GB Notification: Performance of SimCode: time 8.62e-07/1.073, allocations: 0 / 1.171 GB, free: 1.398 MB / 0.92 GB Notification: Performance of Templates: time 0.01898/1.092, allocations: 12.93 MB / 1.183 GB, free: 4.57 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/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