Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.001259/0.001259, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.00114/0.00114, allocations: 185 kB / 24.09 MB, free: 416 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 0.9895/0.9895, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.811/1.811, allocations: 377.9 MB / 0.624 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.854e-05, allocations: 6.25 kB / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1303/0.1303, allocations: 148.3 MB / 0.9569 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.004556/0.1348, allocations: 3.859 MB / 0.9606 GB, free: 8.777 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004432/0.1353, allocations: 55.5 kB / 0.9607 GB, free: 8.723 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006351/0.1359, allocations: 301.8 kB / 0.961 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001765/0.1377, allocations: 1.177 MB / 0.9621 GB, free: 7.242 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.1389, allocations: 0.912 MB / 0.963 GB, free: 6.328 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002001/0.1409, allocations: 2.984 MB / 0.9659 GB, free: 3.336 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007169/0.1416, allocations: 0.7787 MB / 0.9667 GB, free: 2.539 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.1433, allocations: 1.551 MB / 0.9682 GB, free: 1.02 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.1444, allocations: 0.853 MB / 0.969 GB, free: 168 kB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.1445, allocations: 108 kB / 0.9691 GB, free: 60 kB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006094/0.1451, allocations: 411 kB / 0.9695 GB, free: 15.66 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002924/0.1454, allocations: 0.4908 MB / 0.97 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0003332/0.1457, allocations: 475 kB / 0.9705 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.1468, allocations: 1.203 MB / 0.9716 GB, free: 13.49 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1468, allocations: 4 kB / 0.9716 GB, free: 13.49 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1468, allocations: 0 / 0.9716 GB, free: 13.49 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.1468, allocations: 4 kB / 0.9716 GB, free: 13.48 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.001468/0.1482, allocations: 1.496 MB / 0.9731 GB, free: 11.95 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1483, allocations: 8.031 kB / 0.9731 GB, free: 11.94 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009645/0.1492, allocations: 403.4 kB / 0.9735 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007477/0.15, allocations: 0.7657 MB / 0.9742 GB, free: 10.75 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.594e-05/0.15, allocations: 62.12 kB / 0.9743 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.155e-05/0.1501, allocations: 92 kB / 0.9744 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006828/0.1508, allocations: 0.9361 MB / 0.9753 GB, free: 9.547 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.1508, allocations: 0 / 0.9753 GB, free: 9.547 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.214e-05/0.1509, allocations: 36 kB / 0.9753 GB, free: 9.512 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.098e-05/0.1509, allocations: 30 kB / 0.9754 GB, free: 9.48 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003571/0.1513, allocations: 285.6 kB / 0.9756 GB, free: 9.203 MB / 0.9323 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.002537/0.1538, allocations: 2.194 MB / 0.9778 GB, free: 6.957 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.1541, allocations: 269.2 kB / 0.978 GB, free: 6.684 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.1542, allocations: 113.1 kB / 0.9782 GB, free: 6.57 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 9.092e-05/0.1543, allocations: 31.48 kB / 0.9782 GB, free: 6.539 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.1543, allocations: 45.89 kB / 0.9782 GB, free: 6.484 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=47): time 1.643e-06/0.1543, allocations: 0 / 0.9782 GB, free: 6.484 MB / 0.9323 GB Notification: Performance of matching and sorting (n=49): time 0.001553/0.1559, allocations: 0.9052 MB / 0.9791 GB, free: 5.539 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.1559, allocations: 55.91 kB / 0.9792 GB, free: 5.473 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003873/0.1563, allocations: 0.6162 MB / 0.9798 GB, free: 4.844 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.1563, allocations: 41.69 kB / 0.9798 GB, free: 4.797 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.1565, allocations: 0.5377 MB / 0.9803 GB, free: 4.25 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.1566, allocations: 186.4 kB / 0.9805 GB, free: 4.066 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.1568, allocations: 123.9 kB / 0.9806 GB, free: 3.938 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1569, allocations: 0.5623 MB / 0.9812 GB, free: 3.363 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.053e-05/0.157, allocations: 65.25 kB / 0.9812 GB, free: 3.301 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.1572, allocations: 266.6 kB / 0.9815 GB, free: 2.977 MB / 0.9323 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.0007724/0.158, allocations: 496.5 kB / 0.982 GB, free: 2.441 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.158, allocations: 8 kB / 0.982 GB, free: 2.434 MB / 0.9323 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005789/0.1585, allocations: 444.2 kB / 0.9824 GB, free: 1.988 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.1585, allocations: 4 kB / 0.9824 GB, free: 1.984 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1586, allocations: 4 kB / 0.9824 GB, free: 1.98 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001512/0.1587, allocations: 67.61 kB / 0.9825 GB, free: 1.906 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.159, allocations: 127.9 kB / 0.9826 GB, free: 1.781 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.1606, allocations: 3.567 MB / 0.9861 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.1608, allocations: 16 kB / 0.9861 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.1609, allocations: 19.94 kB / 0.9861 GB, free: 13.95 MB / 0.948 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001671/0.161, allocations: 204.3 kB / 0.9863 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.333e-05/0.1611, allocations: 95.56 kB / 0.9864 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.261e-05/0.1612, allocations: 87.36 kB / 0.9865 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1612, allocations: 4 kB / 0.9865 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.1612, allocations: 0 / 0.9865 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003501/0.1616, allocations: 0.558 MB / 0.987 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.1627, allocations: 1.124 MB / 0.9881 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1627, allocations: 0 / 0.9881 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.1629, allocations: 119.9 kB / 0.9882 GB, free: 11.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/0.163, allocations: 51.94 kB / 0.9883 GB, free: 11.51 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.1631, allocations: 16 kB / 0.9883 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.1641, allocations: 1.847 MB / 0.9901 GB, free: 9.535 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.1641, allocations: 4 kB / 0.9901 GB, free: 9.531 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005288/0.1647, allocations: 0.6742 MB / 0.9908 GB, free: 8.777 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.1648, allocations: 131.4 kB / 0.9909 GB, free: 8.648 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.67e-05/0.1649, allocations: 12 kB / 0.9909 GB, free: 8.637 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.1652, allocations: 26.05 kB / 0.9909 GB, free: 8.613 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.287e-05/0.1652, allocations: 51.8 kB / 0.991 GB, free: 8.562 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/0.1653, allocations: 23.98 kB / 0.991 GB, free: 8.539 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002114/0.1655, allocations: 374.9 kB / 0.9914 GB, free: 8.176 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1655, allocations: 0 / 0.9914 GB, free: 8.176 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000485/0.166, allocations: 287.9 kB / 0.9916 GB, free: 7.895 MB / 0.948 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 (45): * Single equations (assignments): 44 * 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.0002119/0.1662, allocations: 155.1 kB / 0.9918 GB, free: 7.73 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004979/0.1667, allocations: 0.6165 MB / 0.9924 GB, free: 7.078 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1667, allocations: 8.188 kB / 0.9924 GB, free: 7.07 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.1669, allocations: 326 kB / 0.9927 GB, free: 6.73 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.168, allocations: 0.501 MB / 0.9932 GB, free: 6.246 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.1697, allocations: 1.607 MB / 0.9948 GB, free: 4.543 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.1698, allocations: 235.8 kB / 0.995 GB, free: 4.293 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003038/0.1701, allocations: 134.4 kB / 0.9951 GB, free: 4.156 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006748/0.1708, allocations: 465.8 kB / 0.9956 GB, free: 3.699 MB / 0.948 GB Notification: Performance of SimCode: time 8.12e-07/0.1708, allocations: 0 / 0.9956 GB, free: 3.699 MB / 0.948 GB Notification: Performance of Templates: time 0.02139/0.1922, allocations: 19.69 MB / 1.015 GB, free: 0.4922 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.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: 5.611395932268351]