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.007503/0.007504, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.00175/0.00175, allocations: 187.5 kB / 16.67 MB, free: 5.965 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.775/2.775, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 60.09 kB / 1.054 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3525, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 1.006/1.358, allocations: 185.1 MB / 1.388 GB, free: 3.691 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01384/1.372, allocations: 6.962 MB / 1.395 GB, free: 14.05 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00219/1.374, allocations: 29.97 kB / 1.395 GB, free: 14.04 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001703/1.376, allocations: 406.7 kB / 1.395 GB, free: 13.7 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005523/1.382, allocations: 1.441 MB / 1.397 GB, free: 12.59 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004182/1.386, allocations: 1.171 MB / 1.398 GB, free: 11.71 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003824/1.39, allocations: 1.945 MB / 1.4 GB, free: 10.6 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/1.391, allocations: 0.6474 MB / 1.4 GB, free: 10.2 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002416/1.394, allocations: 0.8515 MB / 1.401 GB, free: 9.688 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001928/1.396, allocations: 0.5963 MB / 1.402 GB, free: 9.34 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003131/1.396, allocations: 67.25 kB / 1.402 GB, free: 9.34 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005736/1.402, allocations: 1.925 MB / 1.404 GB, free: 8.258 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007313/1.402, allocations: 291.5 kB / 1.404 GB, free: 8.062 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001139/1.404, allocations: 430 kB / 1.404 GB, free: 7.797 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005071/1.409, allocations: 1.763 MB / 1.406 GB, free: 6.707 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.409, allocations: 0 / 1.406 GB, free: 6.707 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.424e-06/1.409, allocations: 2.531 kB / 1.406 GB, free: 6.707 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.634e-05/1.409, allocations: 0 / 1.406 GB, free: 6.707 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.00289/1.412, allocations: 1.166 MB / 1.407 GB, free: 5.781 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/1.412, allocations: 13.92 kB / 1.407 GB, free: 5.777 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001755/1.412, allocations: 93.64 kB / 1.407 GB, free: 5.695 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002212/1.414, allocations: 269.9 kB / 1.408 GB, free: 5.574 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/1.415, allocations: 0.6098 MB / 1.408 GB, free: 5.078 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/1.415, allocations: 40.31 kB / 1.408 GB, free: 5.062 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/1.416, allocations: 55.91 kB / 1.408 GB, free: 5.043 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/1.417, allocations: 0.6404 MB / 1.409 GB, free: 4.656 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/1.417, allocations: 7.922 kB / 1.409 GB, free: 4.648 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.719e-05/1.417, allocations: 21.72 kB / 1.409 GB, free: 4.633 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.202e-05/1.417, allocations: 17.91 kB / 1.409 GB, free: 4.633 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008993/1.418, allocations: 0.5156 MB / 1.409 GB, free: 4.387 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.003306/1.421, allocations: 2.456 MB / 1.412 GB, free: 2.234 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006604/1.422, allocations: 376.7 kB / 1.412 GB, free: 2.031 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/1.422, allocations: 234 kB / 1.412 GB, free: 1.918 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006053/1.423, allocations: 304.9 kB / 1.413 GB, free: 1.609 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/1.423, allocations: 37.33 kB / 1.413 GB, free: 1.566 MB / 1.092 GB Notification: Performance of pre-optimization done (n=39): time 3.066e-06/1.423, allocations: 0 / 1.413 GB, free: 1.566 MB / 1.092 GB Notification: Performance of matching and sorting (n=39): time 0.001425/1.424, allocations: 0.6177 MB / 1.413 GB, free: 1.258 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/1.424, allocations: 58 kB / 1.413 GB, free: 1.191 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000595/1.425, allocations: 0.4946 MB / 1.414 GB, free: 0.8945 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.25e-05/1.425, allocations: 36.36 kB / 1.414 GB, free: 0.8555 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000254/1.425, allocations: 325.7 kB / 1.414 GB, free: 0.5664 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/1.425, allocations: 137.5 kB / 1.414 GB, free: 456 kB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/1.426, allocations: 91.88 kB / 1.414 GB, free: 396 kB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001638/1.426, allocations: 369.2 kB / 1.415 GB, free: 32 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003424/1.426, allocations: 176.1 kB / 1.415 GB, free: 15.93 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004038/1.426, allocations: 282.9 kB / 1.415 GB, free: 15.73 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007098/1.427, allocations: 455.3 kB / 1.416 GB, free: 15.45 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/1.427, allocations: 2 kB / 1.416 GB, free: 15.45 MB / 1.107 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001164/1.428, allocations: 0.5246 MB / 1.416 GB, free: 15.17 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/1.428, allocations: 11.38 kB / 1.416 GB, free: 15.17 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/1.428, allocations: 2.781 kB / 1.416 GB, free: 15.17 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/1.428, allocations: 4.594 kB / 1.416 GB, free: 15.17 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007681/1.429, allocations: 130 kB / 1.416 GB, free: 15.13 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004711/1.43, allocations: 0.5957 MB / 1.417 GB, free: 14.53 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000691/1.43, allocations: 56.56 kB / 1.417 GB, free: 14.49 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/1.431, allocations: 18.8 kB / 1.417 GB, free: 14.49 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000638/1.431, allocations: 351 kB / 1.417 GB, free: 14.27 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004521/1.432, allocations: 284 kB / 1.418 GB, free: 14.05 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008264/1.432, allocations: 448.6 kB / 1.418 GB, free: 13.78 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.139e-06/1.432, allocations: 3.156 kB / 1.418 GB, free: 13.78 MB / 1.107 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001051/1.434, allocations: 0.518 MB / 1.419 GB, free: 13.51 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.93e-05/1.434, allocations: 6.844 kB / 1.419 GB, free: 13.51 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.434, allocations: 10.47 kB / 1.419 GB, free: 13.5 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/1.434, allocations: 9.25 kB / 1.419 GB, free: 13.5 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005358/1.434, allocations: 117 kB / 1.419 GB, free: 13.46 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/1.434, allocations: 6.031 kB / 1.419 GB, free: 13.46 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005834/1.435, allocations: 43.23 kB / 1.419 GB, free: 13.44 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/1.435, allocations: 20.98 kB / 1.419 GB, free: 13.43 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.0002163/1.435, allocations: 207.8 kB / 1.419 GB, free: 13.23 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/1.435, allocations: 64.62 kB / 1.419 GB, free: 13.19 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009845/1.436, allocations: 487.5 kB / 1.419 GB, free: 12.92 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/1.436, allocations: 2.594 kB / 1.419 GB, free: 12.92 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/1.436, allocations: 0.875 kB / 1.419 GB, free: 12.92 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008086/1.437, allocations: 0.7059 MB / 1.42 GB, free: 12.31 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00223/1.439, allocations: 1.291 MB / 1.421 GB, free: 11.08 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/1.439, allocations: 4 kB / 1.421 GB, free: 11.08 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006673/1.44, allocations: 125.6 kB / 1.422 GB, free: 10.96 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/1.44, allocations: 4 kB / 1.422 GB, free: 10.95 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.131e-05/1.44, allocations: 12.5 kB / 1.422 GB, free: 10.94 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003252/1.44, allocations: 0.5937 MB / 1.422 GB, free: 10.32 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.44, allocations: 4.031 kB / 1.422 GB, free: 10.32 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/1.442, allocations: 0.7977 MB / 1.423 GB, free: 9.48 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003703/1.442, allocations: 184 kB / 1.423 GB, free: 9.285 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/1.442, allocations: 11.94 kB / 1.423 GB, free: 9.273 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004476/1.443, allocations: 19.98 kB / 1.423 GB, free: 9.254 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.979e-05/1.443, allocations: 35.89 kB / 1.423 GB, free: 9.219 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/1.443, allocations: 15.94 kB / 1.423 GB, free: 9.203 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000442/1.443, allocations: 354.8 kB / 1.423 GB, free: 8.859 MB / 1.107 GB Notification: Performance of sort global known variables: time 2e-07/1.443, allocations: 0 / 1.423 GB, free: 8.859 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001084/1.444, allocations: 363.1 kB / 1.424 GB, free: 8.504 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.002093/1.446, allocations: 1.446 MB / 1.425 GB, free: 7.023 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001576/1.448, allocations: 0.6769 MB / 1.426 GB, free: 6.348 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.448, allocations: 0 / 1.426 GB, free: 6.348 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0004424/1.449, allocations: 211.8 kB / 1.426 GB, free: 6.141 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/1.45, allocations: 357.2 kB / 1.426 GB, free: 5.805 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008365/1.459, allocations: 5.03 MB / 1.431 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008937/1.46, allocations: 0.9457 MB / 1.432 GB, free: 15.62 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0008398/1.46, allocations: 208.9 kB / 1.432 GB, free: 15.41 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003746/1.461, allocations: 227.4 kB / 1.433 GB, free: 15.2 MB / 1.123 GB Notification: Performance of SimCode: time 8.92e-07/1.461, allocations: 0 / 1.433 GB, free: 15.2 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05099/1.512, allocations: 18.14 MB / 1.45 GB, free: 13.34 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.96, allocations: 9.828 kB / 1.45 GB, free: 13.33 MB / 1.139 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.Density_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 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.mat","/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