Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_11_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.005014/0.005014, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.001318/0.001318, allocations: 198.9 kB / 16.68 MB, free: 5.969 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.938/2.938, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 72.09 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3511, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.84/1.191, allocations: 185 MB / 1.401 GB, free: 4.395 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01152/1.203, allocations: 6.966 MB / 1.408 GB, free: 14.75 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/1.204, allocations: 26.53 kB / 1.408 GB, free: 14.74 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001249/1.205, allocations: 402 kB / 1.408 GB, free: 14.41 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004225/1.209, allocations: 1.449 MB / 1.41 GB, free: 13.29 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003494/1.213, allocations: 1.166 MB / 1.411 GB, free: 12.42 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0034/1.216, allocations: 1.945 MB / 1.413 GB, free: 11.3 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/1.218, allocations: 0.6616 MB / 1.413 GB, free: 10.89 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002286/1.22, allocations: 0.825 MB / 1.414 GB, free: 10.4 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001852/1.222, allocations: 0.5982 MB / 1.415 GB, free: 10.05 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002667/1.222, allocations: 68.69 kB / 1.415 GB, free: 10.05 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005388/1.228, allocations: 1.924 MB / 1.417 GB, free: 8.969 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0006211/1.228, allocations: 294.4 kB / 1.417 GB, free: 8.77 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001201/1.229, allocations: 432.9 kB / 1.417 GB, free: 8.504 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004714/1.234, allocations: 1.767 MB / 1.419 GB, free: 7.41 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.234, allocations: 0 / 1.419 GB, free: 7.41 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.124e-06/1.234, allocations: 4 kB / 1.419 GB, free: 7.406 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.222e-05/1.234, allocations: 0 / 1.419 GB, free: 7.406 MB / 1.107 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.002621/1.237, allocations: 1.187 MB / 1.42 GB, free: 6.457 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/1.237, allocations: 9.406 kB / 1.42 GB, free: 6.457 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001642/1.237, allocations: 98.02 kB / 1.42 GB, free: 6.371 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/1.239, allocations: 280 kB / 1.42 GB, free: 6.242 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/1.24, allocations: 0.6211 MB / 1.421 GB, free: 5.734 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.432e-05/1.24, allocations: 39.16 kB / 1.421 GB, free: 5.719 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/1.241, allocations: 53.03 kB / 1.421 GB, free: 5.703 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/1.242, allocations: 0.634 MB / 1.422 GB, free: 5.32 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/1.242, allocations: 6.594 kB / 1.422 GB, free: 5.316 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.257e-05/1.242, allocations: 25.19 kB / 1.422 GB, free: 5.297 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/1.242, allocations: 22.25 kB / 1.422 GB, free: 5.293 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009926/1.243, allocations: 0.516 MB / 1.422 GB, free: 5.047 MB / 1.107 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.003544/1.247, allocations: 2.463 MB / 1.425 GB, free: 2.887 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006679/1.247, allocations: 359.5 kB / 1.425 GB, free: 2.703 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003951/1.248, allocations: 242.7 kB / 1.425 GB, free: 2.582 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005859/1.248, allocations: 302.7 kB / 1.426 GB, free: 2.277 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/1.248, allocations: 37.55 kB / 1.426 GB, free: 2.234 MB / 1.107 GB Notification: Performance of pre-optimization done (n=39): time 1.973e-06/1.248, allocations: 4 kB / 1.426 GB, free: 2.23 MB / 1.107 GB Notification: Performance of matching and sorting (n=39): time 0.001371/1.25, allocations: 0.6187 MB / 1.426 GB, free: 1.918 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/1.25, allocations: 56.06 kB / 1.426 GB, free: 1.855 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005987/1.25, allocations: 0.4936 MB / 1.427 GB, free: 1.512 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/1.25, allocations: 37.7 kB / 1.427 GB, free: 1.469 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/1.251, allocations: 329 kB / 1.427 GB, free: 1.145 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/1.251, allocations: 146.7 kB / 1.427 GB, free: 1 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/1.251, allocations: 90.08 kB / 1.427 GB, free: 0.9062 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001906/1.251, allocations: 370.7 kB / 1.428 GB, free: 0.5352 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/1.252, allocations: 174.5 kB / 1.428 GB, free: 372 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/1.252, allocations: 287.3 kB / 1.428 GB, free: 40 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008328/1.253, allocations: 460.2 kB / 1.429 GB, free: 15.55 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.253, allocations: 0 / 1.429 GB, free: 15.55 MB / 1.123 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00101/1.254, allocations: 0.5281 MB / 1.429 GB, free: 15.02 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/1.254, allocations: 6.188 kB / 1.429 GB, free: 15.02 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/1.254, allocations: 4 kB / 1.429 GB, free: 15.01 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/1.254, allocations: 12.27 kB / 1.429 GB, free: 15 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007276/1.255, allocations: 135.4 kB / 1.429 GB, free: 14.87 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000457/1.255, allocations: 0.5899 MB / 1.43 GB, free: 14.26 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000581/1.256, allocations: 51.75 kB / 1.43 GB, free: 14.21 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/1.256, allocations: 20 kB / 1.43 GB, free: 14.19 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005724/1.256, allocations: 352.8 kB / 1.43 GB, free: 13.84 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004411/1.257, allocations: 284.4 kB / 1.431 GB, free: 13.53 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007987/1.258, allocations: 452.3 kB / 1.431 GB, free: 13.05 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.055e-06/1.258, allocations: 0 / 1.431 GB, free: 13.05 MB / 1.123 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009834/1.259, allocations: 0.5244 MB / 1.431 GB, free: 12.52 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/1.259, allocations: 7.984 kB / 1.431 GB, free: 12.52 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/1.259, allocations: 4 kB / 1.431 GB, free: 12.51 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/1.259, allocations: 7.938 kB / 1.431 GB, free: 12.5 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005119/1.259, allocations: 119.8 kB / 1.432 GB, free: 12.39 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/1.259, allocations: 4 kB / 1.432 GB, free: 12.38 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005276/1.26, allocations: 40.02 kB / 1.432 GB, free: 12.34 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/1.26, allocations: 20 kB / 1.432 GB, free: 12.32 MB / 1.123 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.0001927/1.26, allocations: 212.1 kB / 1.432 GB, free: 12.11 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/1.26, allocations: 68.89 kB / 1.432 GB, free: 12.04 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009848/1.261, allocations: 487.8 kB / 1.432 GB, free: 11.56 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/1.261, allocations: 8 kB / 1.432 GB, free: 11.55 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.261, allocations: 0 / 1.432 GB, free: 11.55 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009067/1.262, allocations: 0.7068 MB / 1.433 GB, free: 10.76 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/1.264, allocations: 1.285 MB / 1.434 GB, free: 9.398 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.264, allocations: 0.75 kB / 1.434 GB, free: 9.398 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006439/1.265, allocations: 125.4 kB / 1.434 GB, free: 9.277 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/1.265, allocations: 4.219 kB / 1.434 GB, free: 9.273 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.483e-05/1.265, allocations: 12 kB / 1.434 GB, free: 9.262 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003848/1.265, allocations: 0.5976 MB / 1.435 GB, free: 8.641 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.265, allocations: 6.5 kB / 1.435 GB, free: 8.637 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/1.267, allocations: 0.7941 MB / 1.436 GB, free: 7.801 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002859/1.267, allocations: 192.6 kB / 1.436 GB, free: 7.594 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.292e-05/1.267, allocations: 19.88 kB / 1.436 GB, free: 7.574 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004338/1.268, allocations: 15.98 kB / 1.436 GB, free: 7.559 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.74e-05/1.268, allocations: 27.91 kB / 1.436 GB, free: 7.531 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/1.268, allocations: 19.98 kB / 1.436 GB, free: 7.512 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004482/1.268, allocations: 350.8 kB / 1.436 GB, free: 7.172 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.91e-07/1.268, allocations: 0 / 1.436 GB, free: 7.172 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001007/1.269, allocations: 363.3 kB / 1.437 GB, free: 6.816 MB / 1.123 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.002052/1.271, allocations: 1.447 MB / 1.438 GB, free: 5.332 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001595/1.273, allocations: 0.6722 MB / 1.439 GB, free: 4.66 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.273, allocations: 4 kB / 1.439 GB, free: 4.656 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0004555/1.273, allocations: 223.9 kB / 1.439 GB, free: 4.438 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/1.275, allocations: 357.8 kB / 1.439 GB, free: 4.102 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007748/1.283, allocations: 5.046 MB / 1.444 GB, free: 14.88 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006912/1.284, allocations: 0.9496 MB / 1.445 GB, free: 13.9 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007026/1.284, allocations: 200.9 kB / 1.445 GB, free: 13.7 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/1.285, allocations: 231.4 kB / 1.446 GB, free: 13.48 MB / 1.139 GB Notification: Performance of SimCode: time 1.092e-06/1.285, allocations: 0 / 1.446 GB, free: 13.48 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0532/1.338, allocations: 17.87 MB / 1.463 GB, free: 11.9 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/14.38, allocations: 0 / 1.463 GB, free: 11.9 MB / 1.154 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.Density.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Density_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_Density.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.Density.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches