Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_latest_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.007144/0.007144, allocations: 96.91 kB / 15.73 MB, free: 6.484 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.001901/0.001901, allocations: 192 kB / 16.67 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.974/2.974, allocations: 482.4 MB / 0.7548 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 68.34 kB / 1.083 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2953, allocations: 162.2 MB / 1.241 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.7714/1.067, allocations: 185.1 MB / 1.422 GB, free: 10.24 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01067/1.077, allocations: 6.966 MB / 1.429 GB, free: 4.59 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/1.079, allocations: 29.69 kB / 1.429 GB, free: 4.578 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/1.08, allocations: 402.1 kB / 1.429 GB, free: 4.246 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003838/1.084, allocations: 1.438 MB / 1.431 GB, free: 3.141 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00322/1.087, allocations: 1.171 MB / 1.432 GB, free: 2.266 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002735/1.09, allocations: 1.934 MB / 1.434 GB, free: 1.152 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009308/1.091, allocations: 0.6594 MB / 1.435 GB, free: 0.7461 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002135/1.093, allocations: 1.031 MB / 1.436 GB, free: 128 kB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/1.094, allocations: 0.586 MB / 1.436 GB, free: 15.78 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001176/1.094, allocations: 66.91 kB / 1.436 GB, free: 15.78 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003716/1.098, allocations: 1.916 MB / 1.438 GB, free: 14.46 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003833/1.098, allocations: 287.3 kB / 1.438 GB, free: 14.18 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005909/1.099, allocations: 434 kB / 1.439 GB, free: 13.75 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003269/1.102, allocations: 1.767 MB / 1.44 GB, free: 11.98 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/1.102, allocations: 4 kB / 1.44 GB, free: 11.98 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.223e-06/1.102, allocations: 3.938 kB / 1.44 GB, free: 11.98 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.401e-05/1.102, allocations: 3.938 kB / 1.44 GB, free: 11.97 MB / 1.139 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.001974/1.104, allocations: 1.198 MB / 1.442 GB, free: 10.72 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/1.104, allocations: 12.03 kB / 1.442 GB, free: 10.71 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/1.105, allocations: 98.5 kB / 1.442 GB, free: 10.61 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/1.106, allocations: 271.2 kB / 1.442 GB, free: 10.34 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/1.108, allocations: 0.611 MB / 1.443 GB, free: 9.688 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.208e-05/1.108, allocations: 41.31 kB / 1.443 GB, free: 9.648 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/1.108, allocations: 63.94 kB / 1.443 GB, free: 9.586 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/1.109, allocations: 0.6323 MB / 1.443 GB, free: 8.938 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/1.109, allocations: 9.562 kB / 1.443 GB, free: 8.93 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.724e-05/1.109, allocations: 20 kB / 1.443 GB, free: 8.91 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/1.109, allocations: 25.25 kB / 1.443 GB, free: 8.887 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009839/1.11, allocations: 0.5282 MB / 1.444 GB, free: 8.359 MB / 1.139 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.00326/1.113, allocations: 2.525 MB / 1.446 GB, free: 5.602 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007107/1.114, allocations: 360.4 kB / 1.447 GB, free: 5.242 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004113/1.114, allocations: 236 kB / 1.447 GB, free: 5.012 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006208/1.115, allocations: 307.6 kB / 1.447 GB, free: 4.656 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/1.115, allocations: 46.81 kB / 1.447 GB, free: 4.602 MB / 1.139 GB Notification: Performance of pre-optimization done (n=39): time 2.405e-06/1.115, allocations: 0 / 1.447 GB, free: 4.602 MB / 1.139 GB Notification: Performance of matching and sorting (n=39): time 0.001522/1.117, allocations: 0.6151 MB / 1.448 GB, free: 3.98 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/1.117, allocations: 55.41 kB / 1.448 GB, free: 3.914 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006583/1.117, allocations: 0.4989 MB / 1.448 GB, free: 3.402 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.142e-05/1.117, allocations: 33.7 kB / 1.448 GB, free: 3.363 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/1.118, allocations: 329 kB / 1.449 GB, free: 3.039 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/1.118, allocations: 146.7 kB / 1.449 GB, free: 2.895 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/1.118, allocations: 90.08 kB / 1.449 GB, free: 2.801 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001782/1.118, allocations: 370.7 kB / 1.449 GB, free: 2.43 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/1.119, allocations: 178.4 kB / 1.449 GB, free: 2.25 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000464/1.119, allocations: 282.2 kB / 1.45 GB, free: 1.938 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007912/1.12, allocations: 460.2 kB / 1.45 GB, free: 1.457 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/1.12, allocations: 4 kB / 1.45 GB, free: 1.453 MB / 1.139 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001059/1.121, allocations: 0.5164 MB / 1.451 GB, free: 0.9297 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/1.121, allocations: 8.281 kB / 1.451 GB, free: 0.9219 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.121, allocations: 7.938 kB / 1.451 GB, free: 0.9141 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/1.121, allocations: 4 kB / 1.451 GB, free: 0.9102 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007458/1.122, allocations: 129.5 kB / 1.451 GB, free: 0.7852 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004637/1.122, allocations: 0.6054 MB / 1.451 GB, free: 160 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005739/1.123, allocations: 55.75 kB / 1.452 GB, free: 104 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/1.123, allocations: 16 kB / 1.452 GB, free: 88 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006094/1.123, allocations: 348.9 kB / 1.452 GB, free: 15.74 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004461/1.124, allocations: 288.9 kB / 1.452 GB, free: 15.42 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007765/1.125, allocations: 452.3 kB / 1.453 GB, free: 14.95 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/1.125, allocations: 0 / 1.453 GB, free: 14.95 MB / 1.154 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009907/1.126, allocations: 0.5242 MB / 1.453 GB, free: 14.41 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/1.126, allocations: 5.875 kB / 1.453 GB, free: 14.41 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/1.126, allocations: 4 kB / 1.453 GB, free: 14.41 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/1.126, allocations: 7.938 kB / 1.453 GB, free: 14.4 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005346/1.126, allocations: 116.1 kB / 1.453 GB, free: 14.29 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/1.126, allocations: 11.94 kB / 1.453 GB, free: 14.27 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005206/1.127, allocations: 43.81 kB / 1.453 GB, free: 14.23 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/1.127, allocations: 16 kB / 1.453 GB, free: 14.21 MB / 1.154 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.0001894/1.127, allocations: 208.1 kB / 1.453 GB, free: 14 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/1.127, allocations: 64.44 kB / 1.454 GB, free: 13.94 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009885/1.128, allocations: 491.9 kB / 1.454 GB, free: 13.45 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/1.128, allocations: 4 kB / 1.454 GB, free: 13.45 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.128, allocations: 2.25 kB / 1.454 GB, free: 13.45 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008939/1.129, allocations: 0.7108 MB / 1.455 GB, free: 12.65 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/1.131, allocations: 1.273 MB / 1.456 GB, free: 11.3 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/1.131, allocations: 3.984 kB / 1.456 GB, free: 11.3 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006627/1.132, allocations: 125.6 kB / 1.456 GB, free: 11.18 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/1.132, allocations: 4 kB / 1.456 GB, free: 11.17 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.717e-05/1.132, allocations: 11.98 kB / 1.456 GB, free: 11.16 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004108/1.132, allocations: 0.5937 MB / 1.457 GB, free: 10.54 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.132, allocations: 7.969 kB / 1.457 GB, free: 10.54 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/1.134, allocations: 0.8059 MB / 1.457 GB, free: 9.688 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002694/1.134, allocations: 180.7 kB / 1.458 GB, free: 9.492 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.317e-05/1.134, allocations: 15.94 kB / 1.458 GB, free: 9.477 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000421/1.135, allocations: 23.95 kB / 1.458 GB, free: 9.453 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/1.135, allocations: 27.97 kB / 1.458 GB, free: 9.426 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/1.135, allocations: 15.94 kB / 1.458 GB, free: 9.41 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004816/1.135, allocations: 354.8 kB / 1.458 GB, free: 9.066 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.8e-07/1.135, allocations: 4 kB / 1.458 GB, free: 9.062 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001047/1.136, allocations: 363.3 kB / 1.458 GB, free: 8.707 MB / 1.154 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.002022/1.138, allocations: 1.446 MB / 1.46 GB, free: 7.223 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001589/1.14, allocations: 0.6688 MB / 1.46 GB, free: 6.555 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.14, allocations: 4.375 kB / 1.46 GB, free: 6.551 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0004501/1.14, allocations: 220 kB / 1.461 GB, free: 6.336 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/1.142, allocations: 361.8 kB / 1.461 GB, free: 5.996 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007726/1.15, allocations: 5.048 MB / 1.466 GB, free: 0.7695 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000634/1.151, allocations: 0.9418 MB / 1.467 GB, free: 15.8 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0007046/1.151, allocations: 204.9 kB / 1.467 GB, free: 15.6 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003614/1.152, allocations: 227.4 kB / 1.467 GB, free: 15.38 MB / 1.17 GB Notification: Performance of SimCode: time 7.11e-07/1.152, allocations: 3.938 kB / 1.467 GB, free: 15.38 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04875/1.2, allocations: 17.86 MB / 1.485 GB, free: 13.79 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.65, allocations: 5.859 kB / 1.485 GB, free: 13.79 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.Density_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_latest_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Density_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Density.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches