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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.00157, allocations: 108 kB / 15.61 MB, free: 152 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.001603/0.001603, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.39/2.39, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 68.08 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8622/0.8639, allocations: 140.4 MB / 0.9497 GB, free: 9.344 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.2127/1.077, allocations: 185.1 MB / 1.13 GB, free: 8.246 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01098/1.088, allocations: 6.974 MB / 1.137 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/1.089, allocations: 27.81 kB / 1.137 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001402/1.091, allocations: 405.4 kB / 1.138 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004119/1.095, allocations: 1.439 MB / 1.139 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003253/1.098, allocations: 1.157 MB / 1.14 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003064/1.101, allocations: 1.949 MB / 1.142 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/1.102, allocations: 0.6608 MB / 1.143 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/1.104, allocations: 0.8211 MB / 1.144 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001613/1.106, allocations: 0.5958 MB / 1.144 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002323/1.106, allocations: 68 kB / 1.144 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004038/1.11, allocations: 1.929 MB / 1.146 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004307/1.111, allocations: 287.2 kB / 1.146 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007538/1.112, allocations: 430 kB / 1.147 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003399/1.115, allocations: 1.753 MB / 1.148 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/1.115, allocations: 0 / 1.148 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.443e-06/1.115, allocations: 0 / 1.148 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.937e-05/1.115, allocations: 0 / 1.148 GB, free: 5.719 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.002717/1.118, allocations: 1.157 MB / 1.15 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/1.118, allocations: 12.03 kB / 1.15 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001739/1.118, allocations: 98.52 kB / 1.15 GB, free: 4.391 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002235/1.12, allocations: 270.8 kB / 1.15 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/1.121, allocations: 0.5791 MB / 1.151 GB, free: 3.504 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/1.121, allocations: 41.31 kB / 1.151 GB, free: 3.465 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/1.122, allocations: 52 kB / 1.151 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/1.123, allocations: 0.6439 MB / 1.151 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/1.123, allocations: 7.938 kB / 1.151 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.68e-05/1.123, allocations: 20 kB / 1.151 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.127e-05/1.123, allocations: 17.31 kB / 1.151 GB, free: 2.707 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/1.124, allocations: 0.5165 MB / 1.152 GB, free: 2.191 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.003434/1.128, allocations: 2.48 MB / 1.154 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006974/1.128, allocations: 355.5 kB / 1.155 GB, free: 15.14 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004149/1.129, allocations: 237.4 kB / 1.155 GB, free: 14.91 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006146/1.129, allocations: 303.6 kB / 1.155 GB, free: 14.56 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/1.129, allocations: 38.89 kB / 1.155 GB, free: 14.51 MB / 0.92 GB Notification: Performance of pre-optimization done (n=39): time 2.174e-06/1.129, allocations: 0 / 1.155 GB, free: 14.51 MB / 0.92 GB Notification: Performance of matching and sorting (n=39): time 0.001468/1.131, allocations: 0.6183 MB / 1.156 GB, free: 13.89 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/1.131, allocations: 55.41 kB / 1.156 GB, free: 13.82 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005897/1.131, allocations: 0.5066 MB / 1.156 GB, free: 13.3 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/1.132, allocations: 29.7 kB / 1.156 GB, free: 13.27 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/1.132, allocations: 328.5 kB / 1.157 GB, free: 12.94 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/1.132, allocations: 142 kB / 1.157 GB, free: 12.8 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/1.132, allocations: 90.03 kB / 1.157 GB, free: 12.71 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001686/1.132, allocations: 362.8 kB / 1.157 GB, free: 12.34 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/1.133, allocations: 174.5 kB / 1.157 GB, free: 12.17 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/1.133, allocations: 287.4 kB / 1.158 GB, free: 11.85 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007493/1.134, allocations: 452.2 kB / 1.158 GB, free: 11.38 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/1.134, allocations: 0 / 1.158 GB, free: 11.38 MB / 0.92 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009907/1.135, allocations: 0.5162 MB / 1.159 GB, free: 10.86 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/1.135, allocations: 8 kB / 1.159 GB, free: 10.85 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/1.135, allocations: 0 / 1.159 GB, free: 10.85 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/1.135, allocations: 11.98 kB / 1.159 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007957/1.136, allocations: 136 kB / 1.159 GB, free: 10.7 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004024/1.136, allocations: 0.5937 MB / 1.159 GB, free: 10.09 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005936/1.137, allocations: 51.59 kB / 1.159 GB, free: 10.04 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.059e-05/1.137, allocations: 16 kB / 1.159 GB, free: 10.02 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005168/1.137, allocations: 357 kB / 1.16 GB, free: 9.668 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004118/1.138, allocations: 287.3 kB / 1.16 GB, free: 9.348 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007238/1.139, allocations: 460.4 kB / 1.16 GB, free: 8.867 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.963e-06/1.139, allocations: 0 / 1.16 GB, free: 8.867 MB / 0.92 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009476/1.139, allocations: 0.5241 MB / 1.161 GB, free: 8.336 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/1.14, allocations: 8 kB / 1.161 GB, free: 8.328 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.14, allocations: 3.938 kB / 1.161 GB, free: 8.324 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.264e-06/1.14, allocations: 4 kB / 1.161 GB, free: 8.32 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005233/1.14, allocations: 119.8 kB / 1.161 GB, free: 8.203 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/1.14, allocations: 7.938 kB / 1.161 GB, free: 8.195 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000554/1.141, allocations: 47.66 kB / 1.161 GB, free: 8.148 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/1.141, allocations: 20.06 kB / 1.161 GB, free: 8.129 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.0001572/1.141, allocations: 204.1 kB / 1.161 GB, free: 7.922 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/1.141, allocations: 63.28 kB / 1.161 GB, free: 7.859 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009064/1.142, allocations: 480 kB / 1.162 GB, free: 7.383 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/1.142, allocations: 4 kB / 1.162 GB, free: 7.379 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.142, allocations: 3.938 kB / 1.162 GB, free: 7.375 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008051/1.143, allocations: 0.7107 MB / 1.163 GB, free: 6.578 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002106/1.145, allocations: 1.289 MB / 1.164 GB, free: 5.211 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.145, allocations: 4 kB / 1.164 GB, free: 5.207 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006409/1.145, allocations: 119.8 kB / 1.164 GB, free: 5.09 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/1.146, allocations: 4 kB / 1.164 GB, free: 5.086 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.971e-05/1.146, allocations: 12.2 kB / 1.164 GB, free: 5.074 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003077/1.146, allocations: 0.5977 MB / 1.164 GB, free: 4.453 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.146, allocations: 4 kB / 1.164 GB, free: 4.449 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/1.147, allocations: 0.7939 MB / 1.165 GB, free: 3.617 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002437/1.147, allocations: 176.4 kB / 1.165 GB, free: 3.426 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.184e-05/1.147, allocations: 15.94 kB / 1.165 GB, free: 3.41 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/1.148, allocations: 23.98 kB / 1.165 GB, free: 3.387 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/1.148, allocations: 31.89 kB / 1.166 GB, free: 3.355 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.699e-05/1.148, allocations: 16 kB / 1.166 GB, free: 3.34 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004347/1.149, allocations: 354.8 kB / 1.166 GB, free: 2.996 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/1.149, allocations: 0 / 1.166 GB, free: 2.996 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009857/1.15, allocations: 359.1 kB / 1.166 GB, free: 2.645 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.001868/1.151, allocations: 1.452 MB / 1.168 GB, free: 1.156 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001669/1.153, allocations: 0.719 MB / 1.168 GB, free: 448 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/1.153, allocations: 1.125 kB / 1.168 GB, free: 448 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004598/1.154, allocations: 224.1 kB / 1.169 GB, free: 224 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/1.155, allocations: 348.8 kB / 1.169 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008008/1.163, allocations: 5.138 MB / 1.174 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006942/1.164, allocations: 0.9457 MB / 1.175 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009157/1.165, allocations: 208.9 kB / 1.175 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003479/1.165, allocations: 231.3 kB / 1.175 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of SimCode: time 1.333e-06/1.165, allocations: 0 / 1.175 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05022/1.216, allocations: 17.69 MB / 1.193 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.7, allocations: 10.19 kB / 1.193 GB, free: 7.75 MB / 0.9512 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sensors.Examples.Density_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_9_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.Density_res.csv","/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