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.001462/0.001462, allocations: 73.88 kB / 20.65 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.001604/0.001604, allocations: 169 kB / 24.06 MB, free: 452 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.9668/0.9668, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.091/2.091, allocations: 429.5 MB / 0.6743 GB, free: 3.922 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 1.543e-06/1.543e-06, allocations: 0 / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.8e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1193/0.1193, allocations: 148.3 MB / 1.024 GB, free: 1.137 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.005302/0.1246, allocations: 3.841 MB / 1.028 GB, free: 13.3 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008188/0.1254, allocations: 59.5 kB / 1.028 GB, free: 13.24 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006889/0.1261, allocations: 301.8 kB / 1.028 GB, free: 12.94 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001814/0.1279, allocations: 1.181 MB / 1.03 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.1293, allocations: 0.9081 MB / 1.03 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002815/0.1321, allocations: 2.966 MB / 1.033 GB, free: 7.863 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.1332, allocations: 0.7749 MB / 1.034 GB, free: 7.074 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002596/0.1357, allocations: 1.547 MB / 1.036 GB, free: 5.555 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.1368, allocations: 0.8608 MB / 1.036 GB, free: 4.691 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.1369, allocations: 104 kB / 1.037 GB, free: 4.59 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006556/0.1375, allocations: 415 kB / 1.037 GB, free: 4.184 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003385/0.1379, allocations: 0.4947 MB / 1.037 GB, free: 3.688 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004214/0.1383, allocations: 471 kB / 1.038 GB, free: 3.227 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.1396, allocations: 1.211 MB / 1.039 GB, free: 2.012 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1396, allocations: 4 kB / 1.039 GB, free: 2.008 MB / 0.9948 GB Notification: Performance of FrontEnd: time 9.52e-07/0.1396, allocations: 0 / 1.039 GB, free: 2.008 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.1396, allocations: 4 kB / 1.039 GB, free: 2.004 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.001436/0.141, allocations: 1.484 MB / 1.04 GB, free: 492 kB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.1411, allocations: 8.031 kB / 1.04 GB, free: 484 kB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009862/0.1421, allocations: 403.4 kB / 1.041 GB, free: 80 kB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007805/0.1428, allocations: 0.7579 MB / 1.042 GB, free: 15.29 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/0.1429, allocations: 74.11 kB / 1.042 GB, free: 15.22 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-05/0.143, allocations: 88 kB / 1.042 GB, free: 15.14 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006994/0.1437, allocations: 0.9322 MB / 1.043 GB, free: 14.08 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.1437, allocations: 0 / 1.043 GB, free: 14.08 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.556e-05/0.1437, allocations: 39.94 kB / 1.043 GB, free: 14.04 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.51e-05/0.1438, allocations: 33.94 kB / 1.043 GB, free: 14.01 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003747/0.1442, allocations: 285.7 kB / 1.043 GB, free: 13.73 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.002582/0.1467, allocations: 2.186 MB / 1.045 GB, free: 11.49 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.147, allocations: 265.2 kB / 1.045 GB, free: 11.22 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.1471, allocations: 122 kB / 1.046 GB, free: 11.1 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 9.07e-05/0.1472, allocations: 28.48 kB / 1.046 GB, free: 11.07 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.1473, allocations: 49.88 kB / 1.046 GB, free: 11.01 MB / 1.01 GB Notification: Performance of pre-optimization done (n=47): time 1.693e-06/0.1473, allocations: 0 / 1.046 GB, free: 11.01 MB / 1.01 GB Notification: Performance of matching and sorting (n=49): time 0.001529/0.1488, allocations: 0.8974 MB / 1.046 GB, free: 10.07 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.1488, allocations: 59.91 kB / 1.047 GB, free: 10 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.1492, allocations: 0.6085 MB / 1.047 GB, free: 9.383 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/0.1493, allocations: 41.7 kB / 1.047 GB, free: 9.336 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.1495, allocations: 0.5416 MB / 1.048 GB, free: 8.785 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.1496, allocations: 186.4 kB / 1.048 GB, free: 8.602 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.1498, allocations: 119.9 kB / 1.048 GB, free: 8.477 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1499, allocations: 0.5662 MB / 1.049 GB, free: 7.898 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.231e-05/0.15, allocations: 61.27 kB / 1.049 GB, free: 7.84 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.1502, allocations: 266.6 kB / 1.049 GB, free: 7.516 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.0005683/0.1508, allocations: 0.4891 MB / 1.049 GB, free: 6.977 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1508, allocations: 4 kB / 1.049 GB, free: 6.973 MB / 1.01 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.000492/0.1513, allocations: 444.2 kB / 1.05 GB, free: 6.523 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1513, allocations: 4 kB / 1.05 GB, free: 6.52 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.1513, allocations: 7.984 kB / 1.05 GB, free: 6.512 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001562/0.1514, allocations: 63.66 kB / 1.05 GB, free: 6.441 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.1518, allocations: 135.8 kB / 1.05 GB, free: 6.309 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.1535, allocations: 3.559 MB / 1.053 GB, free: 2.52 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003764/0.1539, allocations: 16 kB / 1.053 GB, free: 2.504 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.1539, allocations: 23.98 kB / 1.053 GB, free: 2.48 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.0002316/0.1541, allocations: 196.3 kB / 1.054 GB, free: 2.277 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.1542, allocations: 95.48 kB / 1.054 GB, free: 2.184 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.68e-05/0.1543, allocations: 91.5 kB / 1.054 GB, free: 2.09 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.1543, allocations: 7.984 kB / 1.054 GB, free: 2.082 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1543, allocations: 4 kB / 1.054 GB, free: 2.078 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003829/0.1547, allocations: 0.5541 MB / 1.054 GB, free: 1.43 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.156, allocations: 1.117 MB / 1.055 GB, free: 228 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.156, allocations: 0 / 1.055 GB, free: 228 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.1562, allocations: 123.8 kB / 1.056 GB, free: 104 kB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/0.1564, allocations: 51.58 kB / 1.056 GB, free: 48 kB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.1564, allocations: 16 kB / 1.056 GB, free: 32 kB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4078/0.5642, allocations: 1.833 MB / 1.057 GB, free: 77.71 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.5642, allocations: 9.625 kB / 1.057 GB, free: 77.71 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007601/0.565, allocations: 0.6653 MB / 1.058 GB, free: 77.36 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002319/0.5652, allocations: 136.2 kB / 1.058 GB, free: 77.36 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.44e-05/0.5653, allocations: 13.09 kB / 1.058 GB, free: 77.36 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003524/0.5656, allocations: 29.19 kB / 1.058 GB, free: 77.36 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/0.5657, allocations: 50.84 kB / 1.058 GB, free: 77.36 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.5658, allocations: 24.08 kB / 1.058 GB, free: 77.36 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002133/0.566, allocations: 379.2 kB / 1.059 GB, free: 77.22 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.566, allocations: 0 / 1.059 GB, free: 77.22 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006325/0.5666, allocations: 284.5 kB / 1.059 GB, free: 77.22 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.0002261/0.5668, allocations: 153.6 kB / 1.059 GB, free: 77.14 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005688/0.5674, allocations: 0.6153 MB / 1.06 GB, free: 76.79 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.5674, allocations: 5.5 kB / 1.06 GB, free: 76.79 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.5676, allocations: 330.9 kB / 1.06 GB, free: 76.6 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.5688, allocations: 0.4962 MB / 1.061 GB, free: 76.59 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.5708, allocations: 1.611 MB / 1.062 GB, free: 75.76 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.5709, allocations: 231.3 kB / 1.062 GB, free: 75.69 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004981/0.5714, allocations: 129.3 kB / 1.062 GB, free: 75.68 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007443/0.5722, allocations: 467 kB / 1.063 GB, free: 75.61 MB / 1.01 GB Notification: Performance of SimCode: time 2.074e-06/0.5722, allocations: 0 / 1.063 GB, free: 75.61 MB / 1.01 GB Notification: Performance of Templates: time 0.02362/0.5958, allocations: 19.94 MB / 1.082 GB, free: 73.96 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.456973237916827]