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.007554/0.007554, allocations: 97.3 kB / 15.73 MB, free: 6.035 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.001895/0.001895, allocations: 199.4 kB / 16.68 MB, free: 5.961 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.719/2.719, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3064, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.9531/1.26, allocations: 185 MB / 1.347 GB, free: 6.789 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01149/1.271, allocations: 6.973 MB / 1.354 GB, free: 1.844 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001912/1.273, allocations: 29.97 kB / 1.354 GB, free: 1.832 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001628/1.275, allocations: 415.8 kB / 1.354 GB, free: 1.586 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004996/1.28, allocations: 1.497 MB / 1.356 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00375/1.284, allocations: 1.183 MB / 1.357 GB, free: 176 kB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003362/1.287, allocations: 1.952 MB / 1.359 GB, free: 15.29 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/1.288, allocations: 0.6584 MB / 1.359 GB, free: 14.98 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00219/1.29, allocations: 0.8477 MB / 1.36 GB, free: 14.6 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/1.292, allocations: 0.5971 MB / 1.361 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001559/1.292, allocations: 71.94 kB / 1.361 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004677/1.297, allocations: 1.942 MB / 1.363 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004805/1.297, allocations: 290.5 kB / 1.363 GB, free: 13.47 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007578/1.298, allocations: 428.9 kB / 1.363 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003861/1.302, allocations: 1.774 MB / 1.365 GB, free: 12.42 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.302, allocations: 0 / 1.365 GB, free: 12.42 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.443e-06/1.302, allocations: 1.562 kB / 1.365 GB, free: 12.42 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.601e-05/1.302, allocations: 0 / 1.365 GB, free: 12.42 MB / 1.045 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.002275/1.304, allocations: 1.191 MB / 1.366 GB, free: 11.47 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/1.304, allocations: 9.969 kB / 1.366 GB, free: 11.47 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001272/1.304, allocations: 102.2 kB / 1.366 GB, free: 11.38 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002022/1.306, allocations: 277.9 kB / 1.367 GB, free: 11.25 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/1.308, allocations: 0.6101 MB / 1.367 GB, free: 10.75 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.518e-05/1.308, allocations: 43.78 kB / 1.367 GB, free: 10.73 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/1.308, allocations: 60.7 kB / 1.367 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/1.309, allocations: 0.6306 MB / 1.368 GB, free: 10.33 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/1.309, allocations: 7.938 kB / 1.368 GB, free: 10.32 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.984e-05/1.309, allocations: 22.19 kB / 1.368 GB, free: 10.3 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-05/1.309, allocations: 18.31 kB / 1.368 GB, free: 10.3 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009613/1.31, allocations: 0.5238 MB / 1.368 GB, free: 10.05 MB / 1.045 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.00332/1.313, allocations: 2.459 MB / 1.371 GB, free: 7.895 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006571/1.314, allocations: 362.7 kB / 1.371 GB, free: 7.707 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000389/1.315, allocations: 234.7 kB / 1.371 GB, free: 7.594 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006173/1.315, allocations: 309.7 kB / 1.372 GB, free: 7.281 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/1.315, allocations: 37.36 kB / 1.372 GB, free: 7.238 MB / 1.045 GB Notification: Performance of pre-optimization done (n=39): time 3.747e-06/1.315, allocations: 5.234 kB / 1.372 GB, free: 7.234 MB / 1.045 GB Notification: Performance of matching and sorting (n=39): time 0.001543/1.317, allocations: 0.6163 MB / 1.372 GB, free: 6.926 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/1.317, allocations: 55.75 kB / 1.372 GB, free: 6.863 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006592/1.317, allocations: 0.4975 MB / 1.373 GB, free: 6.559 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.858e-05/1.318, allocations: 32.45 kB / 1.373 GB, free: 6.523 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/1.318, allocations: 334.1 kB / 1.373 GB, free: 6.23 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/1.318, allocations: 144.6 kB / 1.373 GB, free: 6.105 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/1.318, allocations: 91.2 kB / 1.374 GB, free: 6.047 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001825/1.318, allocations: 372.5 kB / 1.374 GB, free: 5.688 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/1.319, allocations: 171.8 kB / 1.374 GB, free: 5.598 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004185/1.319, allocations: 285.4 kB / 1.374 GB, free: 5.387 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006711/1.32, allocations: 450 kB / 1.375 GB, free: 5.109 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.32, allocations: 0 / 1.375 GB, free: 5.109 MB / 1.045 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009011/1.321, allocations: 0.534 MB / 1.375 GB, free: 4.828 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/1.321, allocations: 7.469 kB / 1.375 GB, free: 4.828 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/1.321, allocations: 2.75 kB / 1.375 GB, free: 4.828 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/1.321, allocations: 2.125 kB / 1.375 GB, free: 4.828 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007238/1.321, allocations: 133.5 kB / 1.375 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004043/1.322, allocations: 0.5959 MB / 1.376 GB, free: 4.191 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006497/1.323, allocations: 52.66 kB / 1.376 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/1.323, allocations: 20.94 kB / 1.376 GB, free: 4.152 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005511/1.323, allocations: 353.2 kB / 1.376 GB, free: 3.93 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003843/1.324, allocations: 275.7 kB / 1.377 GB, free: 3.727 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006664/1.324, allocations: 460.3 kB / 1.377 GB, free: 3.438 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.883e-06/1.324, allocations: 0 / 1.377 GB, free: 3.438 MB / 1.045 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008946/1.325, allocations: 0.5205 MB / 1.378 GB, free: 3.168 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/1.325, allocations: 8.125 kB / 1.378 GB, free: 3.168 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/1.325, allocations: 14.86 kB / 1.378 GB, free: 3.156 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/1.325, allocations: 6.062 kB / 1.378 GB, free: 3.152 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004921/1.326, allocations: 121.3 kB / 1.378 GB, free: 3.121 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/1.326, allocations: 4.094 kB / 1.378 GB, free: 3.121 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005791/1.326, allocations: 39.52 kB / 1.378 GB, free: 3.098 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/1.326, allocations: 17 kB / 1.378 GB, free: 3.094 MB / 1.045 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.0001959/1.327, allocations: 207.8 kB / 1.378 GB, free: 2.891 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/1.327, allocations: 68.86 kB / 1.378 GB, free: 2.852 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009096/1.328, allocations: 489.4 kB / 1.379 GB, free: 2.57 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/1.328, allocations: 8.766 kB / 1.379 GB, free: 2.566 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/1.328, allocations: 0 / 1.379 GB, free: 2.566 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007761/1.328, allocations: 0.7047 MB / 1.379 GB, free: 1.961 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/1.33, allocations: 1.279 MB / 1.38 GB, free: 1.031 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/1.33, allocations: 2.344 kB / 1.38 GB, free: 1.031 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006278/1.331, allocations: 125.1 kB / 1.381 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/1.331, allocations: 4.906 kB / 1.381 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/1.331, allocations: 9.25 kB / 1.381 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002941/1.331, allocations: 0.6006 MB / 1.381 GB, free: 392 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.331, allocations: 2.625 kB / 1.381 GB, free: 392 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/1.333, allocations: 0.8022 MB / 1.382 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002977/1.333, allocations: 181.4 kB / 1.382 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.791e-05/1.333, allocations: 21.42 kB / 1.382 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004466/1.333, allocations: 22.08 kB / 1.382 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.78e-05/1.334, allocations: 28.94 kB / 1.382 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/1.334, allocations: 17.36 kB / 1.382 GB, free: 15.65 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003929/1.334, allocations: 353.1 kB / 1.383 GB, free: 15.44 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.11e-07/1.334, allocations: 0 / 1.383 GB, free: 15.44 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001003/1.335, allocations: 358.7 kB / 1.383 GB, free: 15.38 MB / 1.061 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.001808/1.337, allocations: 1.459 MB / 1.384 GB, free: 14.27 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001461/1.338, allocations: 0.6679 MB / 1.385 GB, free: 13.97 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.338, allocations: 0 / 1.385 GB, free: 13.97 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004013/1.339, allocations: 222.3 kB / 1.385 GB, free: 13.88 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/1.34, allocations: 353.1 kB / 1.386 GB, free: 13.7 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006702/1.347, allocations: 5.043 MB / 1.39 GB, free: 10.31 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/1.348, allocations: 0.9484 MB / 1.391 GB, free: 9.488 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0007077/1.348, allocations: 218.2 kB / 1.392 GB, free: 9.387 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003303/1.349, allocations: 223.7 kB / 1.392 GB, free: 9.207 MB / 1.061 GB Notification: Performance of SimCode: time 8.92e-07/1.349, allocations: 0 / 1.392 GB, free: 9.207 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0448/1.394, allocations: 17.87 MB / 1.409 GB, free: 11.21 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/13.39, allocations: 9.344 kB / 1.409 GB, free: 11.21 MB / 1.076 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