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.00107/0.00107, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.004187/0.004187, allocations: 170 kB / 23.27 MB, free: 1.227 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.9526/0.9526, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.285/2.285, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 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 1.523e-06/1.523e-06, allocations: 0 / 0.8898 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.05e-05, allocations: 6.25 kB / 0.8898 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1595/0.1595, allocations: 148.3 MB / 1.035 GB, free: 4.848 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005184/0.1647, allocations: 3.841 MB / 1.038 GB, free: 1.004 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004972/0.1652, allocations: 55.56 kB / 1.038 GB, free: 0.9492 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000635/0.1658, allocations: 305.7 kB / 1.039 GB, free: 0.6484 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.1673, allocations: 1.181 MB / 1.04 GB, free: 15.46 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.1684, allocations: 0.8965 MB / 1.041 GB, free: 14.56 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002041/0.1704, allocations: 2.982 MB / 1.044 GB, free: 11.57 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007312/0.1712, allocations: 0.7594 MB / 1.044 GB, free: 10.79 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001799/0.173, allocations: 1.549 MB / 1.046 GB, free: 9.273 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008385/0.1738, allocations: 0.8492 MB / 1.047 GB, free: 8.422 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.1739, allocations: 104 kB / 1.047 GB, free: 8.32 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005248/0.1745, allocations: 411.1 kB / 1.047 GB, free: 7.918 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.000301/0.1748, allocations: 0.4986 MB / 1.048 GB, free: 7.418 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0007203/0.1755, allocations: 479 kB / 1.048 GB, free: 6.949 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0009738/0.1764, allocations: 1.207 MB / 1.049 GB, free: 5.738 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1765, allocations: 0 / 1.049 GB, free: 5.738 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1765, allocations: 0 / 1.049 GB, free: 5.738 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.1765, allocations: 4 kB / 1.049 GB, free: 5.734 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.001473/0.1779, allocations: 1.484 MB / 1.051 GB, free: 4.211 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.178, allocations: 12.61 kB / 1.051 GB, free: 4.199 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.179, allocations: 403.4 kB / 1.051 GB, free: 3.805 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000718/0.1797, allocations: 0.7617 MB / 1.052 GB, free: 3.012 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/0.1797, allocations: 70.12 kB / 1.052 GB, free: 2.945 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.734e-05/0.1798, allocations: 88 kB / 1.052 GB, free: 2.859 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008634/0.1807, allocations: 0.9322 MB / 1.053 GB, free: 1.809 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.1807, allocations: 0 / 1.053 GB, free: 1.809 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.145e-05/0.1808, allocations: 36 kB / 1.053 GB, free: 1.773 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-05/0.1808, allocations: 34 kB / 1.053 GB, free: 1.738 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003396/0.1811, allocations: 285.7 kB / 1.053 GB, free: 1.461 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.4578/0.639, allocations: 2.19 MB / 1.055 GB, free: 69.82 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.6393, allocations: 269 kB / 1.056 GB, free: 69.79 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.6394, allocations: 114.2 kB / 1.056 GB, free: 69.78 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.6395, allocations: 33.45 kB / 1.056 GB, free: 69.78 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.6395, allocations: 44.95 kB / 1.056 GB, free: 69.73 MB / 1.01 GB Notification: Performance of pre-optimization done (n=47): time 2.014e-06/0.6395, allocations: 0 / 1.056 GB, free: 69.73 MB / 1.01 GB Notification: Performance of matching and sorting (n=49): time 0.001562/0.6411, allocations: 0.9029 MB / 1.057 GB, free: 69.52 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.86e-05/0.6411, allocations: 57.41 kB / 1.057 GB, free: 69.46 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.6414, allocations: 0.6118 MB / 1.057 GB, free: 69.28 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.6414, allocations: 36.8 kB / 1.057 GB, free: 69.25 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.6416, allocations: 0.5405 MB / 1.058 GB, free: 69.02 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.677e-05/0.6417, allocations: 190.3 kB / 1.058 GB, free: 68.93 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.6418, allocations: 120.6 kB / 1.058 GB, free: 68.9 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.452e-05/0.6419, allocations: 0.5622 MB / 1.059 GB, free: 68.41 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.258e-05/0.642, allocations: 67.12 kB / 1.059 GB, free: 68.41 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.6421, allocations: 263.7 kB / 1.059 GB, free: 68.2 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.0004441/0.6426, allocations: 492.1 kB / 1.06 GB, free: 68.05 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.6426, allocations: 3.938 kB / 1.06 GB, free: 68.04 MB / 1.01 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.000406/0.643, allocations: 450.4 kB / 1.06 GB, free: 67.93 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.643, allocations: 8.344 kB / 1.06 GB, free: 67.93 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.643, allocations: 2.906 kB / 1.06 GB, free: 67.93 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001404/0.6431, allocations: 61.84 kB / 1.06 GB, free: 67.91 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/0.6434, allocations: 133.7 kB / 1.06 GB, free: 67.91 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/0.6445, allocations: 3.56 MB / 1.064 GB, free: 64.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.6448, allocations: 20.69 kB / 1.064 GB, free: 64.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.6449, allocations: 15 kB / 1.064 GB, free: 64.5 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.000151/0.645, allocations: 202.5 kB / 1.064 GB, free: 64.34 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.213e-05/0.6451, allocations: 90.66 kB / 1.064 GB, free: 64.3 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.266e-05/0.6452, allocations: 92.12 kB / 1.064 GB, free: 64.29 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.6452, allocations: 6.375 kB / 1.064 GB, free: 64.29 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.6452, allocations: 0.7188 kB / 1.064 GB, free: 64.29 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002695/0.6454, allocations: 0.5605 MB / 1.065 GB, free: 63.83 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009852/0.6464, allocations: 1.126 MB / 1.066 GB, free: 63.39 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6464, allocations: 3.562 kB / 1.066 GB, free: 63.39 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.6467, allocations: 119.3 kB / 1.066 GB, free: 63.39 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.034e-05/0.6468, allocations: 38.77 kB / 1.066 GB, free: 63.38 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.6468, allocations: 16.5 kB / 1.066 GB, free: 63.38 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005526/0.6473, allocations: 1.843 MB / 1.068 GB, free: 61.67 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.6473, allocations: 6.375 kB / 1.068 GB, free: 61.67 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004594/0.6478, allocations: 0.6737 MB / 1.068 GB, free: 61.26 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.648, allocations: 135.5 kB / 1.069 GB, free: 61.21 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.648, allocations: 19.09 kB / 1.069 GB, free: 61.21 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.6483, allocations: 22.81 kB / 1.069 GB, free: 61.21 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.6483, allocations: 47.22 kB / 1.069 GB, free: 61.21 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/0.6484, allocations: 31.03 kB / 1.069 GB, free: 61.21 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001816/0.6486, allocations: 378.3 kB / 1.069 GB, free: 61.08 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.6486, allocations: 0 / 1.069 GB, free: 61.08 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005079/0.6491, allocations: 283.1 kB / 1.069 GB, free: 61.08 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.0001905/0.6493, allocations: 153.2 kB / 1.069 GB, free: 60.99 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004208/0.6497, allocations: 0.6138 MB / 1.07 GB, free: 60.62 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.6497, allocations: 3.75 kB / 1.07 GB, free: 60.62 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.6498, allocations: 327.7 kB / 1.07 GB, free: 60.44 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.651, allocations: 0.5001 MB / 1.071 GB, free: 60.43 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.6526, allocations: 1.615 MB / 1.072 GB, free: 59.58 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.6527, allocations: 231.6 kB / 1.073 GB, free: 59.5 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003944/0.6531, allocations: 133.1 kB / 1.073 GB, free: 59.48 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006904/0.6538, allocations: 467.2 kB / 1.073 GB, free: 59.42 MB / 1.01 GB Notification: Performance of SimCode: time 7.21e-07/0.6538, allocations: 5.062 kB / 1.073 GB, free: 59.42 MB / 1.01 GB Notification: Performance of Templates: time 0.02241/0.6762, allocations: 19.66 MB / 1.092 GB, free: 57.75 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.425288265105337]