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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001819/0.00182, 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.002645/0.002645, allocations: 194.2 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.533/1.533, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.693/2.693, allocations: 469.4 MB / 0.742 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002327, allocations: 68.09 kB / 0.9083 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3575, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.1979/0.5555, allocations: 185.1 MB / 1.244 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6465/1.202, allocations: 6.969 MB / 1.251 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/1.203, allocations: 31.62 kB / 1.251 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/1.204, allocations: 397.7 kB / 1.252 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004792/1.209, allocations: 1.446 MB / 1.253 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003706/1.213, allocations: 1.157 MB / 1.254 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003539/1.217, allocations: 1.938 MB / 1.256 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001221/1.218, allocations: 0.6609 MB / 1.257 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002003/1.22, allocations: 0.8151 MB / 1.257 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/1.221, allocations: 0.6022 MB / 1.258 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001176/1.221, allocations: 67.8 kB / 1.258 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005651/1.227, allocations: 1.923 MB / 1.26 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005723/1.228, allocations: 291.2 kB / 1.26 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009401/1.229, allocations: 432.2 kB / 1.261 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004758/1.233, allocations: 1.747 MB / 1.262 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/1.233, allocations: 0.9688 kB / 1.262 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/1.233, allocations: 0 / 1.262 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.398e-05/1.233, allocations: 0 / 1.262 GB, free: 4.441 MB / 0.9981 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.002322/1.236, allocations: 1.157 MB / 1.264 GB, free: 19.76 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/1.236, allocations: 14.16 kB / 1.264 GB, free: 19.76 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/1.236, allocations: 96.69 kB / 1.264 GB, free: 19.72 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/1.238, allocations: 274 kB / 1.264 GB, free: 19.68 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008743/1.239, allocations: 0.5807 MB / 1.264 GB, free: 19.4 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/1.239, allocations: 43.48 kB / 1.265 GB, free: 19.4 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.353e-05/1.239, allocations: 57.56 kB / 1.265 GB, free: 19.4 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/1.24, allocations: 0.6354 MB / 1.265 GB, free: 19.33 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/1.24, allocations: 0.9062 kB / 1.265 GB, free: 19.33 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.188e-05/1.24, allocations: 23.19 kB / 1.265 GB, free: 19.33 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/1.24, allocations: 20.98 kB / 1.265 GB, free: 19.33 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008774/1.241, allocations: 0.5188 MB / 1.266 GB, free: 19.32 MB / 1.014 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.003067/1.244, allocations: 2.474 MB / 1.268 GB, free: 18 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006441/1.245, allocations: 360.1 kB / 1.268 GB, free: 17.98 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004298/1.245, allocations: 240 kB / 1.269 GB, free: 17.97 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006284/1.246, allocations: 307.8 kB / 1.269 GB, free: 17.69 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/1.246, allocations: 39.8 kB / 1.269 GB, free: 17.65 MB / 1.014 GB Notification: Performance of pre-optimization done (n=39): time 2.314e-06/1.246, allocations: 1.844 kB / 1.269 GB, free: 17.65 MB / 1.014 GB Notification: Performance of matching and sorting (n=39): time 0.001582/1.247, allocations: 0.6142 MB / 1.27 GB, free: 17.58 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/1.247, allocations: 62.94 kB / 1.27 GB, free: 17.52 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006369/1.248, allocations: 0.496 MB / 1.27 GB, free: 17.39 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.054e-05/1.248, allocations: 35.86 kB / 1.27 GB, free: 17.36 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/1.248, allocations: 323 kB / 1.271 GB, free: 17.2 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/1.248, allocations: 141.7 kB / 1.271 GB, free: 17.12 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/1.249, allocations: 89.78 kB / 1.271 GB, free: 17.1 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.249, allocations: 365.5 kB / 1.271 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/1.249, allocations: 174.5 kB / 1.271 GB, free: 16.78 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/1.249, allocations: 284 kB / 1.272 GB, free: 16.67 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007373/1.25, allocations: 453.3 kB / 1.272 GB, free: 16.59 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/1.25, allocations: 0 / 1.272 GB, free: 16.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000974/1.251, allocations: 0.5252 MB / 1.272 GB, free: 16.52 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/1.251, allocations: 7.594 kB / 1.273 GB, free: 16.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/1.251, allocations: 2.719 kB / 1.273 GB, free: 16.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/1.251, allocations: 6.594 kB / 1.273 GB, free: 16.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007366/1.252, allocations: 129.7 kB / 1.273 GB, free: 16.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003958/1.252, allocations: 0.6013 MB / 1.273 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005757/1.253, allocations: 53.02 kB / 1.273 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.074e-05/1.253, allocations: 20.66 kB / 1.273 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006377/1.254, allocations: 350.5 kB / 1.274 GB, free: 15.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004308/1.254, allocations: 290.1 kB / 1.274 GB, free: 15.71 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00075/1.255, allocations: 450.6 kB / 1.274 GB, free: 15.62 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.977e-06/1.255, allocations: 2.328 kB / 1.274 GB, free: 15.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001143/1.256, allocations: 0.5207 MB / 1.275 GB, free: 15.56 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/1.256, allocations: 12.09 kB / 1.275 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.256, allocations: 4.359 kB / 1.275 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/1.256, allocations: 5.312 kB / 1.275 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005638/1.257, allocations: 118.8 kB / 1.275 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/1.257, allocations: 4.938 kB / 1.275 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005221/1.257, allocations: 43.58 kB / 1.275 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/1.257, allocations: 19.22 kB / 1.275 GB, free: 15.54 MB / 1.014 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.0001958/1.258, allocations: 207.5 kB / 1.275 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/1.258, allocations: 60.09 kB / 1.275 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009665/1.259, allocations: 489.8 kB / 1.276 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/1.259, allocations: 6.297 kB / 1.276 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/1.259, allocations: 0 / 1.276 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008006/1.259, allocations: 0.7058 MB / 1.276 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/1.261, allocations: 1.286 MB / 1.278 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/1.261, allocations: 9.062 kB / 1.278 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006155/1.262, allocations: 128.2 kB / 1.278 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/1.262, allocations: 4.969 kB / 1.278 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/1.262, allocations: 9.609 kB / 1.278 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000286/1.262, allocations: 0.5954 MB / 1.278 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.262, allocations: 3.469 kB / 1.278 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/1.264, allocations: 0.7906 MB / 1.279 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/1.264, allocations: 186.2 kB / 1.279 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.428e-05/1.264, allocations: 14.52 kB / 1.279 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/1.264, allocations: 21.88 kB / 1.279 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.573e-05/1.264, allocations: 30.86 kB / 1.279 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/1.264, allocations: 16.58 kB / 1.279 GB, free: 13.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003961/1.265, allocations: 355.2 kB / 1.28 GB, free: 13.42 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.265, allocations: 0.75 kB / 1.28 GB, free: 13.42 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001063/1.266, allocations: 359.2 kB / 1.28 GB, free: 13.38 MB / 1.014 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.001921/1.268, allocations: 1.453 MB / 1.282 GB, free: 12.61 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001634/1.27, allocations: 0.7117 MB / 1.282 GB, free: 12.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.27, allocations: 0.875 kB / 1.282 GB, free: 12.59 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000416/1.27, allocations: 216.9 kB / 1.282 GB, free: 12.59 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/1.272, allocations: 369.5 kB / 1.283 GB, free: 12.55 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007247/1.279, allocations: 5.129 MB / 1.288 GB, free: 10.53 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/1.279, allocations: 0.9464 MB / 1.289 GB, free: 9.832 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008874/1.28, allocations: 212.8 kB / 1.289 GB, free: 9.801 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/1.281, allocations: 227 kB / 1.289 GB, free: 9.793 MB / 1.014 GB Notification: Performance of SimCode: time 8.62e-07/1.281, allocations: 0 / 1.289 GB, free: 9.793 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0436/1.324, allocations: 17.69 MB / 1.306 GB, free: 8.406 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.97, allocations: 7.094 kB / 1.306 GB, free: 8.402 MB / 1.014 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 50 --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