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.001353/0.001353, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001671/0.001671, allocations: 177 kB / 23.36 MB, free: 1.129 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.9694/0.9694, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.328/2.328, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.663e-06/1.663e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.881e-05, allocations: 8.078 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1289/0.1289, allocations: 150.4 MB / 0.9855 GB, free: 7.199 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004671/0.1336, allocations: 3.948 MB / 0.9893 GB, free: 3.246 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000475/0.1341, allocations: 51.56 kB / 0.9894 GB, free: 3.195 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006082/0.1347, allocations: 301.8 kB / 0.9897 GB, free: 2.898 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.1362, allocations: 1.189 MB / 0.9908 GB, free: 1.703 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.1373, allocations: 0.9042 MB / 0.9917 GB, free: 0.7969 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.002033/0.1394, allocations: 2.958 MB / 0.9946 GB, free: 13.82 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000671/0.14, allocations: 0.7659 MB / 0.9954 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001643/0.1417, allocations: 1.552 MB / 0.9969 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007095/0.1424, allocations: 0.8101 MB / 0.9977 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.1425, allocations: 108 kB / 0.9978 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004592/0.143, allocations: 403.1 kB / 0.9982 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002968/0.1433, allocations: 498.6 kB / 0.9986 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003601/0.1436, allocations: 483 kB / 0.9991 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0009476/0.1446, allocations: 1.211 MB / 1 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.1446, allocations: 0 / 1 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.22e-07/0.1446, allocations: 0 / 1 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.1446, allocations: 0 / 1 GB, free: 8.031 MB / 0.9636 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.001257/0.1458, allocations: 1.32 MB / 1.002 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.708e-05/0.1459, allocations: 8.625 kB / 1.002 GB, free: 6.676 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009292/0.1468, allocations: 396 kB / 1.002 GB, free: 6.289 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007168/0.1475, allocations: 0.6447 MB / 1.003 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.988e-05/0.1475, allocations: 74.12 kB / 1.003 GB, free: 5.543 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.252e-05/0.1476, allocations: 91.98 kB / 1.003 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006778/0.1483, allocations: 0.9817 MB / 1.004 GB, free: 4.352 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.1483, allocations: 0 / 1.004 GB, free: 4.352 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.589e-05/0.1484, allocations: 40 kB / 1.004 GB, free: 4.312 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.862e-05/0.1484, allocations: 30 kB / 1.004 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003166/0.1487, allocations: 245.8 kB / 1.004 GB, free: 4.043 MB / 0.9636 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.00221/0.1509, allocations: 1.801 MB / 1.006 GB, free: 2.199 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.1512, allocations: 305.9 kB / 1.006 GB, free: 1.891 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.1513, allocations: 101.1 kB / 1.006 GB, free: 1.785 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-05/0.1514, allocations: 28.48 kB / 1.006 GB, free: 1.758 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.1514, allocations: 39.06 kB / 1.006 GB, free: 1.711 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=47): time 1.473e-06/0.1515, allocations: 0 / 1.006 GB, free: 1.711 MB / 0.9636 GB Notification: Performance of matching and sorting (n=49): time 0.001359/0.1528, allocations: 0.8201 MB / 1.007 GB, free: 0.8516 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.1528, allocations: 55.91 kB / 1.007 GB, free: 0.7852 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000341/0.1532, allocations: 0.535 MB / 1.008 GB, free: 244 kB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.1532, allocations: 41.64 kB / 1.008 GB, free: 196 kB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.1534, allocations: 405.2 kB / 1.008 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 9.711e-05/0.1535, allocations: 178.4 kB / 1.008 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.1536, allocations: 110.2 kB / 1.008 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1537, allocations: 390.5 kB / 1.009 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-05/0.1538, allocations: 68.11 kB / 1.009 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.154, allocations: 212.7 kB / 1.009 GB, free: 14.79 MB / 0.9792 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.0004757/0.1544, allocations: 448 kB / 1.009 GB, free: 14.31 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1544, allocations: 4 kB / 1.009 GB, free: 14.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.000366/0.1548, allocations: 345.9 kB / 1.01 GB, free: 13.95 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1548, allocations: 12 kB / 1.01 GB, free: 13.94 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1548, allocations: 0 / 1.01 GB, free: 13.94 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001532/0.155, allocations: 66.17 kB / 1.01 GB, free: 13.87 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.1553, allocations: 131.8 kB / 1.01 GB, free: 13.74 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.1566, allocations: 2.492 MB / 1.012 GB, free: 11.06 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.1568, allocations: 20.03 kB / 1.012 GB, free: 11.04 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.1569, allocations: 20 kB / 1.012 GB, free: 11.02 MB / 0.9792 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.0001613/0.157, allocations: 152.5 kB / 1.013 GB, free: 10.86 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.251e-05/0.1571, allocations: 71.86 kB / 1.013 GB, free: 10.79 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.657e-05/0.1572, allocations: 83.28 kB / 1.013 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1572, allocations: 8 kB / 1.013 GB, free: 10.69 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.1572, allocations: 0 / 1.013 GB, free: 10.69 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003175/0.1575, allocations: 0.5043 MB / 1.013 GB, free: 10.09 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.1585, allocations: 0.9704 MB / 1.014 GB, free: 9.039 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1585, allocations: 4 kB / 1.014 GB, free: 9.035 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.1588, allocations: 120.2 kB / 1.014 GB, free: 8.918 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001203/0.1589, allocations: 58.47 kB / 1.014 GB, free: 8.855 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.1589, allocations: 16.11 kB / 1.014 GB, free: 8.84 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006945/0.1596, allocations: 1.3 MB / 1.016 GB, free: 7.445 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1596, allocations: 3.938 kB / 1.016 GB, free: 7.441 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004697/0.1601, allocations: 0.5859 MB / 1.016 GB, free: 6.789 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.1603, allocations: 111.4 kB / 1.016 GB, free: 6.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.845e-05/0.1603, allocations: 19.92 kB / 1.016 GB, free: 6.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/0.1606, allocations: 25.86 kB / 1.016 GB, free: 6.637 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/0.1607, allocations: 51.8 kB / 1.016 GB, free: 6.586 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/0.1607, allocations: 24.23 kB / 1.016 GB, free: 6.562 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001801/0.1609, allocations: 252.6 kB / 1.017 GB, free: 6.316 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4e-08/0.1609, allocations: 0 / 1.017 GB, free: 6.316 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004746/0.1614, allocations: 287.9 kB / 1.017 GB, free: 6.035 MB / 0.9792 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.0001898/0.1616, allocations: 128.2 kB / 1.017 GB, free: 5.902 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004498/0.162, allocations: 0.4895 MB / 1.017 GB, free: 5.383 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/0.162, allocations: 12 kB / 1.017 GB, free: 5.371 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.1622, allocations: 253.4 kB / 1.018 GB, free: 5.109 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.1633, allocations: 0.5231 MB / 1.018 GB, free: 4.605 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.1649, allocations: 1.556 MB / 1.02 GB, free: 2.965 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.1651, allocations: 227.8 kB / 1.02 GB, free: 2.719 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000317/0.1654, allocations: 138.4 kB / 1.02 GB, free: 2.578 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006588/0.1661, allocations: 381 kB / 1.02 GB, free: 2.199 MB / 0.9792 GB Notification: Performance of SimCode: time 8.62e-07/0.1661, allocations: 0 / 1.02 GB, free: 2.199 MB / 0.9792 GB Notification: Performance of Templates: time 0.0196/0.1857, allocations: 19.6 MB / 1.04 GB, free: 15.06 MB / 1.01 GB " [Timeout remaining time 300] 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.256029209122062]