Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001344/0.001344, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0014/0.0014, allocations: 169 kB / 24.28 MB, free: 280 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.9821/0.9821, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.808/1.808, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.288e-05/3.539e-05, allocations: 3 kB / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1578/0.1578, allocations: 187.6 MB / 0.9704 GB, free: 0.5195 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.00767/0.1655, allocations: 5.86 MB / 0.9761 GB, free: 10.65 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.1668, allocations: 59.5 kB / 0.9761 GB, free: 10.59 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.1682, allocations: 0.5588 MB / 0.9767 GB, free: 10.03 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.004004/0.1722, allocations: 1.978 MB / 0.9786 GB, free: 8.043 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002658/0.1749, allocations: 1.235 MB / 0.9798 GB, free: 6.805 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.004145/0.179, allocations: 3.052 MB / 0.9828 GB, free: 3.742 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.1802, allocations: 0.775 MB / 0.9836 GB, free: 2.957 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002127/0.1823, allocations: 1.465 MB / 0.985 GB, free: 1.488 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001565/0.1839, allocations: 0.89 MB / 0.9859 GB, free: 0.6133 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.1841, allocations: 112 kB / 0.986 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002264/0.1863, allocations: 1.215 MB / 0.9872 GB, free: 15.29 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004515/0.1868, allocations: 0.5025 MB / 0.9876 GB, free: 14.78 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.00055/0.1873, allocations: 471 kB / 0.9881 GB, free: 14.32 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.002578/0.1899, allocations: 1.616 MB / 0.9897 GB, free: 12.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1899, allocations: 0 / 0.9897 GB, free: 12.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.624e-06/0.1899, allocations: 0 / 0.9897 GB, free: 12.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.1899, allocations: 0 / 0.9897 GB, free: 12.7 MB / 0.948 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.002166/0.1921, allocations: 1.577 MB / 0.9912 GB, free: 11.08 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1921, allocations: 11.97 kB / 0.9912 GB, free: 11.07 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.1939, allocations: 426.5 kB / 0.9916 GB, free: 10.65 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.195, allocations: 0.8062 MB / 0.9924 GB, free: 9.816 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.939e-05/0.1951, allocations: 62 kB / 0.9925 GB, free: 9.754 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.1952, allocations: 95.94 kB / 0.9926 GB, free: 9.66 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.1964, allocations: 1.045 MB / 0.9936 GB, free: 8.484 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.1964, allocations: 0 / 0.9936 GB, free: 8.484 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-05/0.1965, allocations: 43.94 kB / 0.9936 GB, free: 8.441 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.514e-05/0.1965, allocations: 30 kB / 0.9937 GB, free: 8.414 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007583/0.1973, allocations: 355.7 kB / 0.994 GB, free: 8.062 MB / 0.948 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.003577/0.2009, allocations: 2.202 MB / 0.9961 GB, free: 5.809 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004687/0.2013, allocations: 295.2 kB / 0.9964 GB, free: 5.512 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.2015, allocations: 133.1 kB / 0.9966 GB, free: 5.379 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/0.2017, allocations: 36.36 kB / 0.9966 GB, free: 5.344 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.2017, allocations: 41.89 kB / 0.9966 GB, free: 5.289 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 3.417e-06/0.2017, allocations: 0 / 0.9966 GB, free: 5.289 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.002534/0.2043, allocations: 1.103 MB / 0.9977 GB, free: 4.145 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.2043, allocations: 59.91 kB / 0.9978 GB, free: 4.074 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006667/0.205, allocations: 0.6244 MB / 0.9984 GB, free: 3.438 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/0.205, allocations: 41.7 kB / 0.9984 GB, free: 3.391 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003159/0.2053, allocations: 0.5378 MB / 0.9989 GB, free: 2.844 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.2055, allocations: 178.5 kB / 0.9991 GB, free: 2.668 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.2056, allocations: 119.9 kB / 0.9992 GB, free: 2.543 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.2058, allocations: 0.5586 MB / 0.9998 GB, free: 1.973 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.206, allocations: 81.27 kB / 0.9998 GB, free: 1.891 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.2063, allocations: 290.6 kB / 1 GB, free: 1.547 MB / 0.948 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.0009737/0.2073, allocations: 0.5513 MB / 1.001 GB, free: 0.9453 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2073, allocations: 4 kB / 1.001 GB, free: 0.9414 MB / 0.948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.000797/0.2081, allocations: 496.1 kB / 1.001 GB, free: 452 kB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.2081, allocations: 8 kB / 1.001 GB, free: 444 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2081, allocations: 0 / 1.001 GB, free: 444 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/0.2083, allocations: 63.69 kB / 1.001 GB, free: 372 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.2088, allocations: 135.8 kB / 1.001 GB, free: 236 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.2111, allocations: 3.613 MB / 1.005 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004995/0.2116, allocations: 19.95 kB / 1.005 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.414e-05/0.2117, allocations: 20 kB / 1.005 GB, free: 12.34 MB / 0.9636 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.0002816/0.2119, allocations: 200.4 kB / 1.005 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.2121, allocations: 99.5 kB / 1.005 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.2122, allocations: 87.36 kB / 1.005 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.2122, allocations: 4 kB / 1.005 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2122, allocations: 4 kB / 1.005 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006128/0.2128, allocations: 0.5892 MB / 1.006 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.2147, allocations: 1.299 MB / 1.007 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.2147, allocations: 4 kB / 1.007 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003863/0.2151, allocations: 115.9 kB / 1.007 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001455/0.2152, allocations: 43.66 kB / 1.007 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.2153, allocations: 20.25 kB / 1.007 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.2165, allocations: 1.87 MB / 1.009 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.2165, allocations: 7.938 kB / 1.009 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000865/0.2173, allocations: 0.7179 MB / 1.01 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002667/0.2176, allocations: 147.4 kB / 1.01 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.518e-05/0.2177, allocations: 11.98 kB / 1.01 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/0.2181, allocations: 30.02 kB / 1.01 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.2182, allocations: 47.81 kB / 1.01 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.226e-05/0.2182, allocations: 27.98 kB / 1.01 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0003931/0.2186, allocations: 407 kB / 1.01 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.2186, allocations: 0 / 1.01 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0008007/0.2194, allocations: 287.9 kB / 1.011 GB, free: 5.941 MB / 0.9636 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.0003088/0.2197, allocations: 185.5 kB / 1.011 GB, free: 5.754 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0008258/0.2206, allocations: 0.6476 MB / 1.012 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.2206, allocations: 0 / 1.012 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003349/0.2209, allocations: 350.3 kB / 1.012 GB, free: 4.703 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.2225, allocations: 0.5013 MB / 1.012 GB, free: 4.215 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.225, allocations: 1.614 MB / 1.014 GB, free: 2.504 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.2252, allocations: 231.8 kB / 1.014 GB, free: 2.258 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0005176/0.2257, allocations: 174.3 kB / 1.014 GB, free: 2.082 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.2258, allocations: 60.5 kB / 1.014 GB, free: 2.023 MB / 0.9636 GB Notification: Performance of SimCode: time 1.553e-06/0.2258, allocations: 0 / 1.014 GB, free: 2.023 MB / 0.9636 GB Notification: Performance of Templates: time 0.02132/0.2471, allocations: 18.53 MB / 1.033 GB, free: 15.94 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.636370131978765]