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.0009422/0.0009422, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001106/0.001106, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 1.075/1.075, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.23/2.23, allocations: 429.5 MB / 0.6743 GB, free: 3.906 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 2.425e-06/2.425e-06, allocations: 1.094 kB / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.747e-05, allocations: 8.922 kB / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.1357/0.1357, allocations: 146.7 MB / 1.023 GB, free: 2.801 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.006202/0.1419, allocations: 4.608 MB / 1.027 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00076/0.1427, allocations: 39.69 kB / 1.027 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006089/0.1433, allocations: 214.4 kB / 1.027 GB, free: 13.93 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.1449, allocations: 0.9051 MB / 1.028 GB, free: 13.02 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.1468, allocations: 1.012 MB / 1.029 GB, free: 12.01 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00181/0.1486, allocations: 1.983 MB / 1.031 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005946/0.1492, allocations: 0.5076 MB / 1.032 GB, free: 9.496 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/0.1507, allocations: 1.048 MB / 1.033 GB, free: 8.465 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006067/0.1513, allocations: 0.5608 MB / 1.033 GB, free: 7.902 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 8.108e-05/0.1514, allocations: 68 kB / 1.033 GB, free: 7.836 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009524/0.1523, allocations: 0.6391 MB / 1.034 GB, free: 7.195 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002389/0.1526, allocations: 319.1 kB / 1.034 GB, free: 6.883 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002644/0.1528, allocations: 315.3 kB / 1.035 GB, free: 6.574 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.154, allocations: 1.004 MB / 1.036 GB, free: 5.566 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.154, allocations: 4 kB / 1.036 GB, free: 5.562 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.393e-06/0.154, allocations: 0 / 1.036 GB, free: 5.562 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.154, allocations: 4 kB / 1.036 GB, free: 5.559 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.001146/0.1551, allocations: 1.156 MB / 1.037 GB, free: 4.363 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.1552, allocations: 11.97 kB / 1.037 GB, free: 4.352 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.1563, allocations: 343.7 kB / 1.037 GB, free: 4.016 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006427/0.1569, allocations: 0.5583 MB / 1.038 GB, free: 3.426 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.1569, allocations: 49.31 kB / 1.038 GB, free: 3.375 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.8e-05/0.157, allocations: 60 kB / 1.038 GB, free: 3.316 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004978/0.1575, allocations: 0.5034 MB / 1.038 GB, free: 2.766 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.1575, allocations: 0 / 1.038 GB, free: 2.766 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.639e-05/0.1576, allocations: 24 kB / 1.038 GB, free: 2.742 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.1576, allocations: 17.31 kB / 1.038 GB, free: 2.727 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.1578, allocations: 178.2 kB / 1.038 GB, free: 2.551 MB / 0.9948 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.001727/0.1596, allocations: 1.627 MB / 1.04 GB, free: 0.8789 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.1598, allocations: 184.1 kB / 1.04 GB, free: 0.6875 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.1599, allocations: 94.7 kB / 1.04 GB, free: 0.5938 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001877/0.1601, allocations: 60.22 kB / 1.04 GB, free: 0.5352 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.1602, allocations: 45.7 kB / 1.04 GB, free: 492 kB / 0.9948 GB Notification: Performance of pre-optimization done (n=39): time 1.873e-06/0.1602, allocations: 0 / 1.04 GB, free: 492 kB / 0.9948 GB Notification: Performance of matching and sorting (n=39): time 0.0005362/0.1607, allocations: 329.6 kB / 1.041 GB, free: 156 kB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.1607, allocations: 55.41 kB / 1.041 GB, free: 88 kB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/0.1611, allocations: 0.4983 MB / 1.041 GB, free: 15.57 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.1611, allocations: 37.7 kB / 1.041 GB, free: 15.53 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.1613, allocations: 403.4 kB / 1.042 GB, free: 15.13 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 9.071e-05/0.1614, allocations: 158.7 kB / 1.042 GB, free: 14.97 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.1615, allocations: 103.8 kB / 1.042 GB, free: 14.86 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1617, allocations: 0.5507 MB / 1.042 GB, free: 14.3 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.295e-05/0.1617, allocations: 61.58 kB / 1.042 GB, free: 14.24 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.162, allocations: 436.2 kB / 1.043 GB, free: 13.68 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/0.1623, allocations: 346.4 kB / 1.043 GB, free: 13.27 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.1623, allocations: 4 kB / 1.043 GB, free: 13.26 MB / 1.01 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005003/0.1628, allocations: 368.7 kB / 1.044 GB, free: 12.89 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1628, allocations: 12.5 kB / 1.044 GB, free: 12.88 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1628, allocations: 8 kB / 1.044 GB, free: 12.88 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1628, allocations: 8 kB / 1.044 GB, free: 12.87 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.1632, allocations: 135.8 kB / 1.044 GB, free: 12.73 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003236/0.1635, allocations: 0.901 MB / 1.045 GB, free: 11.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.1638, allocations: 47.72 kB / 1.045 GB, free: 11.76 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.1638, allocations: 20 kB / 1.045 GB, free: 11.74 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001597/0.164, allocations: 191.9 kB / 1.045 GB, free: 11.55 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002235/0.1642, allocations: 444.1 kB / 1.045 GB, free: 10.98 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002643/0.1645, allocations: 349.7 kB / 1.046 GB, free: 10.56 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.644e-06/0.1645, allocations: 0 / 1.046 GB, free: 10.56 MB / 1.01 GB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.0003681/0.1648, allocations: 384.6 kB / 1.046 GB, free: 10.18 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 7.354e-06/0.1648, allocations: 4 kB / 1.046 GB, free: 10.17 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1648, allocations: 4 kB / 1.046 GB, free: 10.17 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.561e-06/0.1649, allocations: 8 kB / 1.046 GB, free: 10.16 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.1651, allocations: 124.4 kB / 1.046 GB, free: 10.04 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.1651, allocations: 8 kB / 1.046 GB, free: 10.03 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.1653, allocations: 47.8 kB / 1.046 GB, free: 9.984 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.1654, allocations: 27.98 kB / 1.046 GB, free: 9.957 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.0001268/0.1655, allocations: 299.9 kB / 1.046 GB, free: 9.656 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.428e-05/0.1656, allocations: 71.62 kB / 1.047 GB, free: 9.586 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.1659, allocations: 272.1 kB / 1.047 GB, free: 9.312 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1659, allocations: 7.984 kB / 1.047 GB, free: 9.305 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1659, allocations: 0 / 1.047 GB, free: 9.305 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004276/0.1663, allocations: 0.5078 MB / 1.047 GB, free: 8.711 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008365/0.1671, allocations: 0.8425 MB / 1.048 GB, free: 7.805 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1671, allocations: 4 kB / 1.048 GB, free: 7.801 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003125/0.1675, allocations: 112.1 kB / 1.048 GB, free: 7.691 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.1675, allocations: 8 kB / 1.048 GB, free: 7.684 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.1675, allocations: 11.94 kB / 1.048 GB, free: 7.672 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002685/0.1678, allocations: 0.8932 MB / 1.049 GB, free: 6.75 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1678, allocations: 0 / 1.049 GB, free: 6.75 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004586/0.1682, allocations: 0.5327 MB / 1.05 GB, free: 6.164 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.1683, allocations: 91.52 kB / 1.05 GB, free: 6.074 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.1684, allocations: 16 kB / 1.05 GB, free: 6.059 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.1686, allocations: 20.08 kB / 1.05 GB, free: 6.039 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.1686, allocations: 27.95 kB / 1.05 GB, free: 6.012 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.1687, allocations: 19.92 kB / 1.05 GB, free: 5.992 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001751/0.1688, allocations: 314.7 kB / 1.05 GB, free: 5.688 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.1688, allocations: 0 / 1.05 GB, free: 5.688 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000688/0.1695, allocations: 387.2 kB / 1.05 GB, free: 5.309 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.0002267/0.1697, allocations: 151.1 kB / 1.051 GB, free: 5.152 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000566/0.1703, allocations: 407.7 kB / 1.051 GB, free: 4.75 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1703, allocations: 192 / 1.051 GB, free: 4.75 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.1705, allocations: 124.9 kB / 1.051 GB, free: 4.625 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008532/0.1713, allocations: 334.8 kB / 1.051 GB, free: 4.301 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.173, allocations: 1.257 MB / 1.053 GB, free: 2.98 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.1731, allocations: 178.6 kB / 1.053 GB, free: 2.785 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003284/0.1734, allocations: 109 kB / 1.053 GB, free: 2.68 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004577/0.1739, allocations: 314 kB / 1.053 GB, free: 2.371 MB / 1.01 GB Notification: Performance of SimCode: time 1.222e-06/0.1739, allocations: 0 / 1.053 GB, free: 2.371 MB / 1.01 GB Notification: Performance of Templates: time 0.4112/0.585, allocations: 13.16 MB / 1.066 GB, free: 78.01 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.615084144286811]