Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_10_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.007769/0.007769, allocations: 106.3 kB / 15.74 MB, free: 6.008 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.001947/0.001947, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.477/2.477, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.00139, allocations: 71.89 kB / 1.018 GB, free: 9.855 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7772/0.7786, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.1963/0.975, allocations: 185.1 MB / 1.347 GB, free: 10.01 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01023/0.9853, allocations: 6.982 MB / 1.354 GB, free: 3.008 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009885/0.9863, allocations: 31.81 kB / 1.354 GB, free: 2.977 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.9876, allocations: 401.5 kB / 1.354 GB, free: 2.582 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003559/0.9912, allocations: 1.448 MB / 1.356 GB, free: 1.129 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002898/0.9941, allocations: 1.166 MB / 1.357 GB, free: 15.96 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002359/0.9965, allocations: 1.942 MB / 1.359 GB, free: 14.02 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.9975, allocations: 0.6609 MB / 1.359 GB, free: 13.34 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.9992, allocations: 0.8211 MB / 1.36 GB, free: 12.52 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001369/1.001, allocations: 0.6018 MB / 1.361 GB, free: 11.92 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001575/1.001, allocations: 72 kB / 1.361 GB, free: 11.85 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004064/1.005, allocations: 1.933 MB / 1.363 GB, free: 9.91 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004858/1.005, allocations: 287.2 kB / 1.363 GB, free: 9.629 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008722/1.006, allocations: 434.1 kB / 1.363 GB, free: 9.203 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003482/1.01, allocations: 1.749 MB / 1.365 GB, free: 7.449 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/1.01, allocations: 0 / 1.365 GB, free: 7.449 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.613e-06/1.01, allocations: 3.938 kB / 1.365 GB, free: 7.445 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.254e-05/1.01, allocations: 4 kB / 1.365 GB, free: 7.441 MB / 1.092 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.002387/1.012, allocations: 1.164 MB / 1.366 GB, free: 6.227 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/1.012, allocations: 8.922 kB / 1.366 GB, free: 6.219 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/1.012, allocations: 94.52 kB / 1.366 GB, free: 6.117 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002159/1.015, allocations: 274.8 kB / 1.366 GB, free: 5.848 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/1.016, allocations: 0.6066 MB / 1.367 GB, free: 5.195 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.265e-05/1.016, allocations: 45.31 kB / 1.367 GB, free: 5.152 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/1.016, allocations: 60 kB / 1.367 GB, free: 5.094 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/1.017, allocations: 0.6322 MB / 1.368 GB, free: 4.445 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/1.017, allocations: 0 / 1.368 GB, free: 4.445 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.936e-05/1.017, allocations: 27.98 kB / 1.368 GB, free: 4.418 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.123e-05/1.017, allocations: 21.31 kB / 1.368 GB, free: 4.398 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009882/1.018, allocations: 0.5243 MB / 1.368 GB, free: 3.875 MB / 1.092 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.00344/1.022, allocations: 2.449 MB / 1.371 GB, free: 1.211 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006659/1.023, allocations: 361.8 kB / 1.371 GB, free: 0.8516 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003866/1.023, allocations: 235.4 kB / 1.371 GB, free: 0.6211 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000597/1.024, allocations: 311.5 kB / 1.372 GB, free: 268 kB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/1.024, allocations: 42.83 kB / 1.372 GB, free: 216 kB / 1.092 GB Notification: Performance of pre-optimization done (n=39): time 2.054e-06/1.024, allocations: 0 / 1.372 GB, free: 216 kB / 1.092 GB Notification: Performance of matching and sorting (n=39): time 0.001496/1.025, allocations: 0.6158 MB / 1.372 GB, free: 15.59 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/1.025, allocations: 55.41 kB / 1.372 GB, free: 15.52 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006058/1.026, allocations: 0.4989 MB / 1.373 GB, free: 15.01 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.147e-05/1.026, allocations: 33.7 kB / 1.373 GB, free: 14.97 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/1.026, allocations: 332.3 kB / 1.373 GB, free: 14.64 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/1.026, allocations: 130 kB / 1.373 GB, free: 14.52 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/1.026, allocations: 94.03 kB / 1.373 GB, free: 14.42 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001491/1.027, allocations: 366.8 kB / 1.374 GB, free: 14.05 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/1.027, allocations: 182.4 kB / 1.374 GB, free: 13.87 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004086/1.027, allocations: 279.4 kB / 1.374 GB, free: 13.56 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007176/1.028, allocations: 448.3 kB / 1.375 GB, free: 13.09 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/1.028, allocations: 0 / 1.375 GB, free: 13.09 MB / 1.107 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009251/1.029, allocations: 0.5317 MB / 1.375 GB, free: 12.55 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/1.029, allocations: 4 kB / 1.375 GB, free: 12.55 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/1.029, allocations: 4 kB / 1.375 GB, free: 12.54 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/1.029, allocations: 7.938 kB / 1.375 GB, free: 12.54 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007231/1.03, allocations: 124.1 kB / 1.375 GB, free: 12.41 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000364/1.03, allocations: 0.6015 MB / 1.376 GB, free: 11.79 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005614/1.031, allocations: 51.52 kB / 1.376 GB, free: 11.74 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.736e-05/1.031, allocations: 20 kB / 1.376 GB, free: 11.72 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005286/1.031, allocations: 348.9 kB / 1.376 GB, free: 11.38 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004051/1.032, allocations: 279.5 kB / 1.376 GB, free: 11.06 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007028/1.032, allocations: 460.3 kB / 1.377 GB, free: 10.58 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/1.032, allocations: 0 / 1.377 GB, free: 10.58 MB / 1.107 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009158/1.033, allocations: 0.5201 MB / 1.377 GB, free: 10.05 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/1.033, allocations: 4 kB / 1.377 GB, free: 10.05 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/1.033, allocations: 12.22 kB / 1.377 GB, free: 10.04 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-06/1.033, allocations: 4 kB / 1.377 GB, free: 10.04 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/1.034, allocations: 115.9 kB / 1.378 GB, free: 9.922 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/1.034, allocations: 11.92 kB / 1.378 GB, free: 9.91 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005232/1.034, allocations: 39.67 kB / 1.378 GB, free: 9.871 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/1.035, allocations: 23.98 kB / 1.378 GB, free: 9.848 MB / 1.107 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.035, allocations: 208.5 kB / 1.378 GB, free: 9.637 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/1.035, allocations: 63.19 kB / 1.378 GB, free: 9.574 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009224/1.036, allocations: 490.7 kB / 1.378 GB, free: 9.082 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/1.036, allocations: 4 kB / 1.378 GB, free: 9.078 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.036, allocations: 0 / 1.378 GB, free: 9.078 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007948/1.037, allocations: 0.7027 MB / 1.379 GB, free: 8.289 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/1.039, allocations: 1.293 MB / 1.38 GB, free: 6.918 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/1.039, allocations: 0 / 1.38 GB, free: 6.918 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006405/1.039, allocations: 123.8 kB / 1.38 GB, free: 6.797 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/1.039, allocations: 7.984 kB / 1.38 GB, free: 6.789 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/1.039, allocations: 8 kB / 1.38 GB, free: 6.781 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003014/1.04, allocations: 0.6016 MB / 1.381 GB, free: 6.156 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.04, allocations: 4 kB / 1.381 GB, free: 6.152 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/1.041, allocations: 0.7984 MB / 1.382 GB, free: 5.316 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002786/1.041, allocations: 176.4 kB / 1.382 GB, free: 5.125 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.932e-05/1.041, allocations: 19.92 kB / 1.382 GB, free: 5.105 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004392/1.042, allocations: 15.98 kB / 1.382 GB, free: 5.09 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.458e-05/1.042, allocations: 27.97 kB / 1.382 GB, free: 5.062 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/1.042, allocations: 16 kB / 1.382 GB, free: 5.047 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0003825/1.042, allocations: 350.8 kB / 1.382 GB, free: 4.707 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.51e-07/1.042, allocations: 0 / 1.382 GB, free: 4.707 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009441/1.043, allocations: 367.1 kB / 1.383 GB, free: 4.348 MB / 1.107 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.001799/1.045, allocations: 1.442 MB / 1.384 GB, free: 2.867 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001458/1.046, allocations: 0.6719 MB / 1.385 GB, free: 2.195 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/1.046, allocations: 0 / 1.385 GB, free: 2.195 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0004215/1.047, allocations: 221.1 kB / 1.385 GB, free: 1.98 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/1.049, allocations: 357.6 kB / 1.385 GB, free: 1.637 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0069/1.055, allocations: 5.024 MB / 1.39 GB, free: 12.44 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005828/1.056, allocations: 0.9457 MB / 1.391 GB, free: 11.46 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0006362/1.057, allocations: 212.9 kB / 1.391 GB, free: 11.26 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003993/1.057, allocations: 227.4 kB / 1.392 GB, free: 11.04 MB / 1.123 GB Notification: Performance of SimCode: time 6.31e-07/1.057, allocations: 0 / 1.392 GB, free: 11.04 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05587/1.113, allocations: 17.86 MB / 1.409 GB, free: 9.457 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.72, allocations: 14.03 kB / 1.409 GB, free: 9.445 MB / 1.139 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.Density.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.Density_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_Density.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Density.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches