Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.001451/0.001451, allocations: 92.22 kB / 19.65 MB, free: 276 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.001615/0.001615, allocations: 173 kB / 23.02 MB, free: 1.547 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.9863/0.9863, allocations: 177.1 MB / 203.4 MB, free: 5.633 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 1.951/1.951, allocations: 429.5 MB / 0.6732 GB, free: 4.035 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.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/3.068e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.134/0.1341, allocations: 151.2 MB / 1.026 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.006625/0.1407, allocations: 3.867 MB / 1.03 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.1419, allocations: 51.56 kB / 1.03 GB, free: 10.65 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008986/0.1428, allocations: 297.8 kB / 1.03 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.1448, allocations: 1.076 MB / 1.031 GB, free: 9.273 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.1467, allocations: 0.9896 MB / 1.032 GB, free: 8.281 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003102/0.1498, allocations: 2.588 MB / 1.034 GB, free: 5.684 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.1509, allocations: 0.6996 MB / 1.035 GB, free: 4.969 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002449/0.1534, allocations: 1.418 MB / 1.037 GB, free: 3.574 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009639/0.1543, allocations: 0.7361 MB / 1.037 GB, free: 2.836 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.1545, allocations: 92 kB / 1.037 GB, free: 2.746 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.1555, allocations: 0.6431 MB / 1.038 GB, free: 2.102 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000373/0.1559, allocations: 434.8 kB / 1.038 GB, free: 1.676 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005555/0.1565, allocations: 435 kB / 1.039 GB, free: 1.25 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.1583, allocations: 1.285 MB / 1.04 GB, free: 15.96 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1583, allocations: 0 / 1.04 GB, free: 15.96 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1583, allocations: 0 / 1.04 GB, free: 15.96 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.21e-05/0.1583, allocations: 0 / 1.04 GB, free: 15.96 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002014/0.1603, allocations: 1.429 MB / 1.041 GB, free: 14.49 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1603, allocations: 12.03 kB / 1.041 GB, free: 14.48 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.1621, allocations: 447.5 kB / 1.042 GB, free: 14.04 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.1632, allocations: 0.7181 MB / 1.043 GB, free: 13.3 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.18e-05/0.1632, allocations: 62.12 kB / 1.043 GB, free: 13.24 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.1633, allocations: 76 kB / 1.043 GB, free: 13.16 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.1646, allocations: 1.039 MB / 1.044 GB, free: 12 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.1647, allocations: 4 kB / 1.044 GB, free: 12 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.542e-05/0.1647, allocations: 35.98 kB / 1.044 GB, free: 11.96 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.004e-05/0.1648, allocations: 29.98 kB / 1.044 GB, free: 11.94 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008494/0.1656, allocations: 339.7 kB / 1.044 GB, free: 11.6 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.003792/0.1694, allocations: 2.503 MB / 1.047 GB, free: 9.027 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005895/0.17, allocations: 286.5 kB / 1.047 GB, free: 8.738 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.1702, allocations: 116.3 kB / 1.047 GB, free: 8.621 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.1703, allocations: 28.31 kB / 1.047 GB, free: 8.594 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.1704, allocations: 42.05 kB / 1.047 GB, free: 8.543 MB / 1.01 GB Notification: Performance of pre-optimization done (n=39): time 2.244e-06/0.1704, allocations: 0 / 1.047 GB, free: 8.543 MB / 1.01 GB Notification: Performance of matching and sorting (n=41): time 0.003644/0.174, allocations: 1.242 MB / 1.048 GB, free: 7.258 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.174, allocations: 59.41 kB / 1.048 GB, free: 7.188 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005962/0.1746, allocations: 0.6049 MB / 1.049 GB, free: 6.57 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.867e-05/0.1747, allocations: 37.7 kB / 1.049 GB, free: 6.527 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.175, allocations: 0.5027 MB / 1.049 GB, free: 6.016 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.1751, allocations: 154.7 kB / 1.05 GB, free: 5.863 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.1753, allocations: 107.9 kB / 1.05 GB, free: 5.75 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.1755, allocations: 0.5547 MB / 1.05 GB, free: 5.184 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.1757, allocations: 81.25 kB / 1.05 GB, free: 5.105 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/0.176, allocations: 278.6 kB / 1.051 GB, free: 4.77 MB / 1.01 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009266/0.1769, allocations: 0.5185 MB / 1.051 GB, free: 4.207 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1769, allocations: 0 / 1.051 GB, free: 4.207 MB / 1.01 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001259/0.1782, allocations: 0.5474 MB / 1.052 GB, free: 3.648 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.1782, allocations: 8 kB / 1.052 GB, free: 3.641 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1782, allocations: 8 kB / 1.052 GB, free: 3.633 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008885/0.1791, allocations: 243.5 kB / 1.052 GB, free: 3.391 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/0.1795, allocations: 127.8 kB / 1.052 GB, free: 3.266 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.1814, allocations: 2.026 MB / 1.054 GB, free: 1.125 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004727/0.1819, allocations: 44 kB / 1.054 GB, free: 1.082 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-05/0.182, allocations: 27.98 kB / 1.054 GB, free: 1.055 MB / 1.01 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002373/0.1822, allocations: 184.5 kB / 1.054 GB, free: 0.8633 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.1823, allocations: 95.47 kB / 1.054 GB, free: 0.7695 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.1824, allocations: 74.84 kB / 1.054 GB, free: 0.6953 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.1824, allocations: 15.94 kB / 1.054 GB, free: 0.6797 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1825, allocations: 0 / 1.054 GB, free: 0.6797 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001218/0.1837, allocations: 451.9 kB / 1.055 GB, free: 208 kB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4609/0.6446, allocations: 1.407 MB / 1.056 GB, free: 77.25 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.6446, allocations: 6.422 kB / 1.056 GB, free: 77.25 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/0.6449, allocations: 110.2 kB / 1.056 GB, free: 77.25 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006863/0.6456, allocations: 238.4 kB / 1.057 GB, free: 77.24 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.29e-05/0.6456, allocations: 18.7 kB / 1.057 GB, free: 77.24 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/0.6469, allocations: 1.992 MB / 1.058 GB, free: 75.54 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6469, allocations: 2.625 kB / 1.058 GB, free: 75.54 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.6481, allocations: 0.7872 MB / 1.059 GB, free: 75.18 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.6483, allocations: 148.6 kB / 1.059 GB, free: 75.18 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.092e-05/0.6484, allocations: 12.89 kB / 1.059 GB, free: 75.18 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/0.6487, allocations: 41.34 kB / 1.059 GB, free: 75.18 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.113e-05/0.6488, allocations: 41.98 kB / 1.059 GB, free: 75.18 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.047e-05/0.6489, allocations: 31.47 kB / 1.06 GB, free: 75.18 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002899/0.6491, allocations: 393.9 kB / 1.06 GB, free: 75.04 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6491, allocations: 1.031 kB / 1.06 GB, free: 75.04 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006472/0.6498, allocations: 271.6 kB / 1.06 GB, free: 75.04 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002949/0.6501, allocations: 172.6 kB / 1.06 GB, free: 74.95 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007016/0.6508, allocations: 486 kB / 1.061 GB, free: 74.77 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.6508, allocations: 4.094 kB / 1.061 GB, free: 74.77 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.651, allocations: 332.2 kB / 1.061 GB, free: 74.59 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.6522, allocations: 446.2 kB / 1.062 GB, free: 74.57 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.6546, allocations: 1.628 MB / 1.063 GB, free: 73.79 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.6547, allocations: 211.8 kB / 1.063 GB, free: 73.72 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004489/0.6552, allocations: 158.7 kB / 1.063 GB, free: 73.71 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.6553, allocations: 61.17 kB / 1.064 GB, free: 73.71 MB / 1.01 GB Notification: Performance of SimCode: time 1.733e-06/0.6553, allocations: 0 / 1.064 GB, free: 73.71 MB / 1.01 GB Notification: Performance of Templates: time 0.02281/0.6781, allocations: 18.88 MB / 1.082 GB, free: 72.08 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.245927086099982]