Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001312/0.001312, allocations: 93.06 kB / 19.65 MB, free: 272 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.001542/0.001542, allocations: 173 kB / 23.02 MB, free: 1.543 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.9836/0.9836, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.082/2.082, allocations: 429.5 MB / 0.6732 GB, free: 4.016 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.MixingVolumeHeatReverseFlow,tolerance=1e-08,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.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_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 0.8782 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.641e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1386/0.1386, allocations: 151.2 MB / 1.026 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.00569/0.1443, allocations: 3.868 MB / 1.03 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000793/0.1451, allocations: 55.5 kB / 1.03 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007217/0.1459, allocations: 305.8 kB / 1.03 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.1478, allocations: 1.185 MB / 1.031 GB, free: 9.164 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.1493, allocations: 0.9004 MB / 1.032 GB, free: 8.262 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003113/0.1524, allocations: 2.974 MB / 1.035 GB, free: 5.273 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.1534, allocations: 0.7594 MB / 1.036 GB, free: 4.5 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002373/0.1558, allocations: 1.556 MB / 1.037 GB, free: 2.977 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.1569, allocations: 0.8492 MB / 1.038 GB, free: 2.125 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001794/0.1571, allocations: 104 kB / 1.038 GB, free: 2.023 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007876/0.1579, allocations: 419 kB / 1.038 GB, free: 1.613 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0009326/0.1588, allocations: 0.4947 MB / 1.039 GB, free: 1.117 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0007093/0.1595, allocations: 479 kB / 1.039 GB, free: 0.6484 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.1616, allocations: 1.203 MB / 1.041 GB, free: 15.44 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.168e-05/0.1616, allocations: 0 / 1.041 GB, free: 15.44 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.754e-06/0.1616, allocations: 0 / 1.041 GB, free: 15.44 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.967e-05/0.1616, allocations: 4 kB / 1.041 GB, free: 15.44 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002648/0.1643, allocations: 1.484 MB / 1.042 GB, free: 13.91 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.1643, allocations: 16.02 kB / 1.042 GB, free: 13.9 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.1658, allocations: 411.3 kB / 1.042 GB, free: 13.5 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009052/0.1667, allocations: 0.7813 MB / 1.043 GB, free: 12.69 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.842e-05/0.1667, allocations: 66.12 kB / 1.043 GB, free: 12.62 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.1668, allocations: 92 kB / 1.043 GB, free: 12.54 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009763/0.1678, allocations: 0.9946 MB / 1.044 GB, free: 11.42 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.1678, allocations: 8 kB / 1.044 GB, free: 11.41 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.978e-05/0.1679, allocations: 39.98 kB / 1.044 GB, free: 11.37 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-05/0.1679, allocations: 30 kB / 1.044 GB, free: 11.34 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005605/0.1685, allocations: 351.7 kB / 1.045 GB, free: 11 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.003033/0.1715, allocations: 2.191 MB / 1.047 GB, free: 8.758 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.1719, allocations: 301.2 kB / 1.047 GB, free: 8.449 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.1721, allocations: 134.1 kB / 1.047 GB, free: 8.316 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.1722, allocations: 24.48 kB / 1.047 GB, free: 8.293 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.1722, allocations: 45.89 kB / 1.047 GB, free: 8.238 MB / 1.01 GB Notification: Performance of pre-optimization done (n=47): time 2.585e-06/0.1722, allocations: 3.938 kB / 1.047 GB, free: 8.234 MB / 1.01 GB Notification: Performance of matching and sorting (n=49): time 0.002023/0.1743, allocations: 1.107 MB / 1.048 GB, free: 7.086 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.1743, allocations: 59.84 kB / 1.048 GB, free: 7.016 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000486/0.1748, allocations: 0.6206 MB / 1.049 GB, free: 6.379 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.1748, allocations: 37.7 kB / 1.049 GB, free: 6.336 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.1751, allocations: 0.5339 MB / 1.05 GB, free: 5.793 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.1752, allocations: 182.4 kB / 1.05 GB, free: 5.613 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.1754, allocations: 123.9 kB / 1.05 GB, free: 5.484 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1755, allocations: 0.5586 MB / 1.05 GB, free: 4.914 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.1757, allocations: 89.25 kB / 1.051 GB, free: 4.828 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.176, allocations: 286.6 kB / 1.051 GB, free: 4.484 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.0007335/0.1767, allocations: 0.5557 MB / 1.051 GB, free: 3.879 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1767, allocations: 0 / 1.051 GB, free: 3.879 MB / 1.01 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.000593/0.1773, allocations: 488.2 kB / 1.052 GB, free: 3.387 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1773, allocations: 6.531 kB / 1.052 GB, free: 3.383 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1773, allocations: 8 kB / 1.052 GB, free: 3.375 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001859/0.1775, allocations: 67.33 kB / 1.052 GB, free: 3.301 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.1778, allocations: 131.8 kB / 1.052 GB, free: 3.172 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4572/0.635, allocations: 3.612 MB / 1.056 GB, free: 76.04 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006177/0.6356, allocations: 20.2 kB / 1.056 GB, free: 76.04 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.6357, allocations: 22.59 kB / 1.056 GB, free: 76.04 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 (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.0002882/0.636, allocations: 199.4 kB / 1.056 GB, free: 75.88 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.6361, allocations: 100.8 kB / 1.056 GB, free: 75.88 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.197e-05/0.6362, allocations: 89.36 kB / 1.056 GB, free: 75.87 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.6362, allocations: 5.844 kB / 1.056 GB, free: 75.87 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.6362, allocations: 0 / 1.056 GB, free: 75.87 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004677/0.6367, allocations: 0.5857 MB / 1.057 GB, free: 75.42 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.6382, allocations: 1.294 MB / 1.058 GB, free: 74.97 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.6382, allocations: 6.625 kB / 1.058 GB, free: 74.97 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/0.6385, allocations: 115.6 kB / 1.058 GB, free: 74.97 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001512/0.6387, allocations: 51.5 kB / 1.058 GB, free: 74.96 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.6387, allocations: 14.05 kB / 1.058 GB, free: 74.96 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008143/0.6395, allocations: 1.872 MB / 1.06 GB, free: 73.24 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6395, allocations: 3.969 kB / 1.06 GB, free: 73.24 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006838/0.6402, allocations: 0.7162 MB / 1.061 GB, free: 72.89 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002063/0.6404, allocations: 147.5 kB / 1.061 GB, free: 72.89 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.956e-05/0.6405, allocations: 13.5 kB / 1.061 GB, free: 72.89 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/0.6408, allocations: 30.72 kB / 1.061 GB, free: 72.89 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.843e-05/0.6409, allocations: 44.36 kB / 1.061 GB, free: 72.88 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.6409, allocations: 36.27 kB / 1.061 GB, free: 72.88 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002805/0.6412, allocations: 398.7 kB / 1.061 GB, free: 72.74 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.6412, allocations: 2.875 kB / 1.061 GB, free: 72.74 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006255/0.6418, allocations: 287.4 kB / 1.061 GB, free: 72.74 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 (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.0002546/0.6421, allocations: 146.2 kB / 1.062 GB, free: 72.65 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006472/0.6427, allocations: 0.6528 MB / 1.062 GB, free: 72.3 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.6428, allocations: 2.969 kB / 1.062 GB, free: 72.3 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.643, allocations: 348.4 kB / 1.063 GB, free: 72.11 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.6442, allocations: 0.5128 MB / 1.063 GB, free: 72.09 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.6463, allocations: 1.608 MB / 1.065 GB, free: 71.26 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.6465, allocations: 233.3 kB / 1.065 GB, free: 71.18 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000477/0.6469, allocations: 167.3 kB / 1.065 GB, free: 71.17 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.6471, allocations: 62.94 kB / 1.065 GB, free: 71.16 MB / 1.01 GB Notification: Performance of SimCode: time 1.563e-06/0.6471, allocations: 0 / 1.065 GB, free: 71.16 MB / 1.01 GB Notification: Performance of Templates: time 0.02521/0.6723, allocations: 19.28 MB / 1.084 GB, free: 69.43 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.429450919851661]