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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 177 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9644/0.9644, allocations: 177.1 MB / 203.8 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.211/2.211, allocations: 429.5 MB / 0.6736 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFloRat.ports.[0-9,]+..m_flow|senDenVol.d|senDenFlo.d",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFloRat.ports.[0-9,]+..m_flow|senDenVol.d|senDenFlo.d",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Density") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.893e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.6219/0.622, allocations: 182.1 MB / 1.056 GB, free: 47.63 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.009633/0.6316, allocations: 7.915 MB / 1.064 GB, free: 47.6 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.633, allocations: 44.28 kB / 1.064 GB, free: 47.6 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.6342, allocations: 400.3 kB / 1.064 GB, free: 47.59 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003481/0.6377, allocations: 1.538 MB / 1.066 GB, free: 47.53 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00304/0.6407, allocations: 1.479 MB / 1.067 GB, free: 47.49 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002382/0.6431, allocations: 2.017 MB / 1.069 GB, free: 47.49 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007819/0.6439, allocations: 0.5101 MB / 1.07 GB, free: 47.45 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002172/0.646, allocations: 1.347 MB / 1.071 GB, free: 47.44 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.6472, allocations: 0.5727 MB / 1.071 GB, free: 47.39 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.6473, allocations: 69.75 kB / 1.072 GB, free: 47.39 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002551/0.6499, allocations: 1.589 MB / 1.073 GB, free: 47.24 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002973/0.6501, allocations: 321.2 kB / 1.073 GB, free: 47.2 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004576/0.6506, allocations: 314.5 kB / 1.074 GB, free: 47.17 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002692/0.6533, allocations: 1.488 MB / 1.075 GB, free: 47 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6533, allocations: 0 / 1.075 GB, free: 47 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6533, allocations: 1.031 kB / 1.075 GB, free: 47 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.206e-05/0.6533, allocations: 0 / 1.075 GB, free: 47 MB / 1.01 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.001435/0.6548, allocations: 1.237 MB / 1.076 GB, free: 46.27 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.6548, allocations: 8.906 kB / 1.076 GB, free: 46.27 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.6561, allocations: 368.2 kB / 1.077 GB, free: 46.19 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007282/0.6569, allocations: 0.5778 MB / 1.077 GB, free: 45.96 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.6569, allocations: 51.41 kB / 1.077 GB, free: 45.96 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.351e-05/0.657, allocations: 62.55 kB / 1.077 GB, free: 45.96 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005963/0.6576, allocations: 0.5399 MB / 1.078 GB, free: 45.73 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.6576, allocations: 0.6562 kB / 1.078 GB, free: 45.73 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.142e-05/0.6576, allocations: 24.42 kB / 1.078 GB, free: 45.73 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/0.6576, allocations: 22.38 kB / 1.078 GB, free: 45.73 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003778/0.658, allocations: 215.4 kB / 1.078 GB, free: 45.72 MB / 1.01 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.00183/0.6599, allocations: 1.618 MB / 1.08 GB, free: 45.09 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/0.6602, allocations: 214.7 kB / 1.08 GB, free: 45.05 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.6604, allocations: 111.7 kB / 1.08 GB, free: 45.04 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002495/0.6606, allocations: 71.48 kB / 1.08 GB, free: 45.04 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.6606, allocations: 40.78 kB / 1.08 GB, free: 45 MB / 1.01 GB Notification: Performance of pre-optimization done (n=39): time 2.855e-06/0.6606, allocations: 1.875 kB / 1.08 GB, free: 45 MB / 1.01 GB Notification: Performance of matching and sorting (n=39): time 0.0006893/0.6613, allocations: 376.6 kB / 1.081 GB, free: 44.92 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.6614, allocations: 54.34 kB / 1.081 GB, free: 44.86 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.6617, allocations: 0.5039 MB / 1.081 GB, free: 44.67 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.6617, allocations: 35.45 kB / 1.081 GB, free: 44.64 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.6619, allocations: 391.9 kB / 1.081 GB, free: 44.42 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.615e-05/0.662, allocations: 146.3 kB / 1.082 GB, free: 44.33 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.6621, allocations: 107.9 kB / 1.082 GB, free: 44.3 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.365e-05/0.6622, allocations: 0.5451 MB / 1.082 GB, free: 43.8 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.6623, allocations: 81.41 kB / 1.082 GB, free: 43.79 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.6625, allocations: 451.4 kB / 1.083 GB, free: 43.35 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.6628, allocations: 368.3 kB / 1.083 GB, free: 43.12 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.6628, allocations: 3.938 kB / 1.083 GB, free: 43.12 MB / 1.01 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005119/0.6634, allocations: 411.6 kB / 1.083 GB, free: 43.05 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.6634, allocations: 7.938 kB / 1.083 GB, free: 43.05 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.6634, allocations: 4.062 kB / 1.083 GB, free: 43.05 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.6634, allocations: 8.562 kB / 1.084 GB, free: 43.05 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/0.6638, allocations: 137.2 kB / 1.084 GB, free: 43.05 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002511/0.6641, allocations: 0.9101 MB / 1.085 GB, free: 42.15 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.6644, allocations: 54 kB / 1.085 GB, free: 42.12 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.6644, allocations: 21.38 kB / 1.085 GB, free: 42.12 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002164/0.6647, allocations: 210.2 kB / 1.085 GB, free: 41.99 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002112/0.6649, allocations: 450.9 kB / 1.085 GB, free: 41.55 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003105/0.6652, allocations: 368.5 kB / 1.086 GB, free: 41.32 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.324e-06/0.6652, allocations: 2.625 kB / 1.086 GB, free: 41.32 MB / 1.01 GB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.0004381/0.6656, allocations: 419 kB / 1.086 GB, free: 41.24 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.6656, allocations: 7.875 kB / 1.086 GB, free: 41.24 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.6656, allocations: 2.625 kB / 1.086 GB, free: 41.24 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.261e-06/0.6656, allocations: 8.781 kB / 1.086 GB, free: 41.24 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.6659, allocations: 122.3 kB / 1.086 GB, free: 41.24 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.6659, allocations: 11.81 kB / 1.086 GB, free: 41.24 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.6662, allocations: 44.78 kB / 1.086 GB, free: 41.22 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.6662, allocations: 20.47 kB / 1.086 GB, free: 41.22 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (62): * Single equations (assignments): 61 * 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.0001534/0.6663, allocations: 302.2 kB / 1.086 GB, free: 40.95 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.912e-05/0.6664, allocations: 78.28 kB / 1.087 GB, free: 40.92 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004087/0.6668, allocations: 300.2 kB / 1.087 GB, free: 40.87 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.6668, allocations: 6.281 kB / 1.087 GB, free: 40.87 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.6668, allocations: 3.188 kB / 1.087 GB, free: 40.87 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002916/0.6671, allocations: 0.5301 MB / 1.087 GB, free: 40.42 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.6682, allocations: 0.9588 MB / 1.088 GB, free: 40.03 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6682, allocations: 3.969 kB / 1.088 GB, free: 40.03 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003193/0.6685, allocations: 115.3 kB / 1.088 GB, free: 40.03 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.6685, allocations: 2.906 kB / 1.088 GB, free: 40.03 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.6685, allocations: 9.719 kB / 1.088 GB, free: 40.03 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001594/0.6687, allocations: 0.9061 MB / 1.089 GB, free: 39.13 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6687, allocations: 6.375 kB / 1.089 GB, free: 39.12 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004912/0.6692, allocations: 0.5599 MB / 1.09 GB, free: 38.81 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.6693, allocations: 109.6 kB / 1.09 GB, free: 38.77 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.6694, allocations: 6.312 kB / 1.09 GB, free: 38.77 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.6696, allocations: 22.03 kB / 1.09 GB, free: 38.77 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.6696, allocations: 29.45 kB / 1.09 GB, free: 38.77 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.6696, allocations: 18.08 kB / 1.09 GB, free: 38.77 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000206/0.6698, allocations: 330.7 kB / 1.09 GB, free: 38.64 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.6698, allocations: 0 / 1.09 GB, free: 38.64 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007598/0.6706, allocations: 391.3 kB / 1.091 GB, free: 38.59 MB / 1.01 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.0003064/0.6709, allocations: 186.5 kB / 1.091 GB, free: 38.5 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007383/0.6716, allocations: 458.8 kB / 1.091 GB, free: 38.47 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.6716, allocations: 0 / 1.091 GB, free: 38.47 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.6718, allocations: 133 kB / 1.091 GB, free: 38.46 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009364/0.6728, allocations: 341 kB / 1.092 GB, free: 38.43 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.6749, allocations: 1.252 MB / 1.093 GB, free: 37.8 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.6751, allocations: 177.8 kB / 1.093 GB, free: 37.73 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005496/0.6756, allocations: 183 kB / 1.093 GB, free: 37.71 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.6758, allocations: 53.84 kB / 1.093 GB, free: 37.7 MB / 1.01 GB Notification: Performance of SimCode: time 1.553e-06/0.6758, allocations: 0 / 1.093 GB, free: 37.7 MB / 1.01 GB Notification: Performance of Templates: time 0.02047/0.6962, allocations: 12.39 MB / 1.106 GB, free: 36.52 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Density_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Density.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.449482341995463]