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.001033/0.001033, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009563/0.0009563, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9616/0.9616, allocations: 177.2 MB / 203.4 MB, free: 5.625 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.063/2.063, allocations: 429.5 MB / 0.6733 GB, free: 3.98 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.974e-06/1.974e-06, allocations: 0 / 0.8782 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.35e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.1287/0.1287, allocations: 149.4 MB / 1.024 GB, free: 308 kB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.005817/0.1345, allocations: 4.655 MB / 1.029 GB, free: 11.63 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000543/0.1351, allocations: 43.62 kB / 1.029 GB, free: 11.59 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005841/0.1357, allocations: 210.4 kB / 1.029 GB, free: 11.38 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001453/0.1371, allocations: 0.905 MB / 1.03 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00187/0.139, allocations: 1.008 MB / 1.031 GB, free: 9.461 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001732/0.1407, allocations: 1.987 MB / 1.033 GB, free: 7.469 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006458/0.1414, allocations: 0.5076 MB / 1.033 GB, free: 6.945 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.1429, allocations: 1.051 MB / 1.034 GB, free: 5.91 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006691/0.1435, allocations: 0.5531 MB / 1.035 GB, free: 5.355 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 8.794e-05/0.1436, allocations: 68 kB / 1.035 GB, free: 5.289 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008344/0.1444, allocations: 0.643 MB / 1.035 GB, free: 4.645 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002128/0.1447, allocations: 319.1 kB / 1.036 GB, free: 4.332 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002422/0.1449, allocations: 315.3 kB / 1.036 GB, free: 4.023 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.146, allocations: 1.005 MB / 1.037 GB, free: 3.016 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.146, allocations: 0 / 1.037 GB, free: 3.016 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.573e-06/0.146, allocations: 0 / 1.037 GB, free: 3.016 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.146, allocations: 0 / 1.037 GB, free: 3.016 MB / 0.9948 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.001254/0.1473, allocations: 1.16 MB / 1.038 GB, free: 1.816 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.1473, allocations: 16.02 kB / 1.038 GB, free: 1.801 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009822/0.1483, allocations: 339.6 kB / 1.039 GB, free: 1.469 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000653/0.1489, allocations: 0.5778 MB / 1.039 GB, free: 0.8633 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.149, allocations: 37.31 kB / 1.039 GB, free: 0.8242 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.391e-05/0.149, allocations: 64 kB / 1.039 GB, free: 0.7617 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005729/0.1496, allocations: 0.5386 MB / 1.04 GB, free: 180 kB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.1496, allocations: 0 / 1.04 GB, free: 180 kB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.1497, allocations: 20 kB / 1.04 GB, free: 160 kB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.1497, allocations: 21.31 kB / 1.04 GB, free: 140 kB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003408/0.15, allocations: 215.7 kB / 1.04 GB, free: 15.93 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.001682/0.1517, allocations: 1.62 MB / 1.042 GB, free: 14.26 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.152, allocations: 220 kB / 1.042 GB, free: 14.04 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.1522, allocations: 114.3 kB / 1.042 GB, free: 13.92 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000188/0.1524, allocations: 48.28 kB / 1.042 GB, free: 13.88 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.1524, allocations: 41.72 kB / 1.042 GB, free: 13.82 MB / 1.01 GB Notification: Performance of pre-optimization done (n=39): time 1.763e-06/0.1524, allocations: 0 / 1.042 GB, free: 13.82 MB / 1.01 GB Notification: Performance of matching and sorting (n=39): time 0.0005856/0.153, allocations: 381.5 kB / 1.042 GB, free: 13.45 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.153, allocations: 55.41 kB / 1.042 GB, free: 13.38 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/0.1533, allocations: 0.5064 MB / 1.043 GB, free: 12.86 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.1534, allocations: 37.7 kB / 1.043 GB, free: 12.81 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.1535, allocations: 395.6 kB / 1.043 GB, free: 12.42 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 8.25e-05/0.1536, allocations: 150.7 kB / 1.043 GB, free: 12.27 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.1537, allocations: 99.84 kB / 1.044 GB, free: 12.17 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0003952/0.1541, allocations: 0.543 MB / 1.044 GB, free: 11.61 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.1542, allocations: 77.64 kB / 1.044 GB, free: 11.54 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.1545, allocations: 452.2 kB / 1.045 GB, free: 10.96 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.1548, allocations: 374.4 kB / 1.045 GB, free: 10.52 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1548, allocations: 4 kB / 1.045 GB, free: 10.52 MB / 1.01 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004526/0.1553, allocations: 409.1 kB / 1.045 GB, free: 10.11 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1553, allocations: 14.59 kB / 1.045 GB, free: 10.1 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.1553, allocations: 4 kB / 1.045 GB, free: 10.09 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1553, allocations: 8 kB / 1.045 GB, free: 10.09 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.1557, allocations: 131.8 kB / 1.045 GB, free: 9.957 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003202/0.156, allocations: 0.9088 MB / 1.046 GB, free: 9.02 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.1562, allocations: 47.95 kB / 1.046 GB, free: 8.973 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.1563, allocations: 27.98 kB / 1.046 GB, free: 8.945 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001873/0.1565, allocations: 207.8 kB / 1.047 GB, free: 8.738 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002377/0.1567, allocations: 452.2 kB / 1.047 GB, free: 8.168 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003142/0.157, allocations: 373.7 kB / 1.047 GB, free: 7.723 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.714e-06/0.157, allocations: 0 / 1.047 GB, free: 7.723 MB / 1.01 GB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.0004247/0.1574, allocations: 412.6 kB / 1.048 GB, free: 7.312 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/0.1574, allocations: 8 kB / 1.048 GB, free: 7.305 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.1574, allocations: 4.562 kB / 1.048 GB, free: 7.301 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.1575, allocations: 12 kB / 1.048 GB, free: 7.289 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.1577, allocations: 123.9 kB / 1.048 GB, free: 7.168 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1577, allocations: 15.92 kB / 1.048 GB, free: 7.152 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.1579, allocations: 47.67 kB / 1.048 GB, free: 7.105 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.1579, allocations: 24 kB / 1.048 GB, free: 7.082 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.0001279/0.1581, allocations: 303.9 kB / 1.048 GB, free: 6.777 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.967e-05/0.1581, allocations: 71.62 kB / 1.048 GB, free: 6.707 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003629/0.1585, allocations: 300.2 kB / 1.049 GB, free: 6.406 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1585, allocations: 4 kB / 1.049 GB, free: 6.402 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1585, allocations: 0 / 1.049 GB, free: 6.402 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003242/0.1588, allocations: 0.5273 MB / 1.049 GB, free: 5.789 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009392/0.1598, allocations: 0.971 MB / 1.05 GB, free: 4.746 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1598, allocations: 4 kB / 1.05 GB, free: 4.742 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003044/0.1601, allocations: 112 kB / 1.05 GB, free: 4.633 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.1601, allocations: 7.938 kB / 1.05 GB, free: 4.625 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.1601, allocations: 15.98 kB / 1.05 GB, free: 4.609 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005586/0.1607, allocations: 0.8933 MB / 1.051 GB, free: 3.688 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1607, allocations: 0 / 1.051 GB, free: 3.688 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005209/0.1612, allocations: 0.5601 MB / 1.052 GB, free: 3.074 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.1613, allocations: 107.6 kB / 1.052 GB, free: 2.969 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.1614, allocations: 8 kB / 1.052 GB, free: 2.961 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.1615, allocations: 15.98 kB / 1.052 GB, free: 2.945 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.18e-05/0.1616, allocations: 35.83 kB / 1.052 GB, free: 2.91 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.1616, allocations: 16 kB / 1.052 GB, free: 2.895 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002087/0.1618, allocations: 326.8 kB / 1.052 GB, free: 2.578 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.1618, allocations: 0 / 1.052 GB, free: 2.578 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005846/0.1624, allocations: 395.2 kB / 1.053 GB, free: 2.191 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.0002274/0.1626, allocations: 151 kB / 1.053 GB, free: 2.035 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006484/0.1633, allocations: 447.6 kB / 1.053 GB, free: 1.59 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1633, allocations: 0 / 1.053 GB, free: 1.59 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.1635, allocations: 132.9 kB / 1.053 GB, free: 1.457 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008293/0.1643, allocations: 334.8 kB / 1.054 GB, free: 1.129 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4042/0.5684, allocations: 1.254 MB / 1.055 GB, free: 76.32 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.5685, allocations: 174.7 kB / 1.055 GB, free: 76.25 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000487/0.569, allocations: 182.2 kB / 1.055 GB, free: 76.25 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.5691, allocations: 52.41 kB / 1.055 GB, free: 76.25 MB / 1.01 GB Notification: Performance of SimCode: time 1.502e-06/0.5691, allocations: 0 / 1.055 GB, free: 76.25 MB / 1.01 GB Notification: Performance of Templates: time 0.01256/0.5817, allocations: 12.65 MB / 1.068 GB, free: 75.43 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.017924056854099]