Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.000949/0.000949, allocations: 73.97 kB / 20.65 MB, free: 3.848 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.001588/0.001588, allocations: 169.4 kB / 24.06 MB, free: 456 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.929/0.929, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.13/2.13, allocations: 429.5 MB / 0.6743 GB, free: 3.91 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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 0.8794 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027e-05/1.137e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.142/0.142, allocations: 148.3 MB / 1.024 GB, free: 1.109 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.005858/0.1478, allocations: 3.849 MB / 1.028 GB, free: 13.26 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/0.1489, allocations: 55.5 kB / 1.028 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007717/0.1497, allocations: 293.9 kB / 1.028 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00204/0.1517, allocations: 1.076 MB / 1.029 GB, free: 11.83 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002059/0.1538, allocations: 0.997 MB / 1.03 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002624/0.1564, allocations: 2.581 MB / 1.033 GB, free: 8.25 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009188/0.1573, allocations: 0.7036 MB / 1.034 GB, free: 7.531 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002213/0.1596, allocations: 1.412 MB / 1.035 GB, free: 6.145 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008697/0.1604, allocations: 0.7439 MB / 1.036 GB, free: 5.398 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.1606, allocations: 96 kB / 1.036 GB, free: 5.305 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.1616, allocations: 0.6431 MB / 1.036 GB, free: 4.66 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003226/0.1619, allocations: 434.8 kB / 1.037 GB, free: 4.234 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000583/0.1625, allocations: 431 kB / 1.037 GB, free: 3.812 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.164, allocations: 1.281 MB / 1.039 GB, free: 2.527 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.164, allocations: 3.938 kB / 1.039 GB, free: 2.523 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.496e-06/0.164, allocations: 3.984 kB / 1.039 GB, free: 2.52 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.164, allocations: 4 kB / 1.039 GB, free: 2.516 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.00152/0.1655, allocations: 1.425 MB / 1.04 GB, free: 1.047 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.1655, allocations: 8.031 kB / 1.04 GB, free: 1.039 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.1668, allocations: 447.5 kB / 1.04 GB, free: 0.6016 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000792/0.1676, allocations: 0.6987 MB / 1.041 GB, free: 15.88 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.316e-05/0.1676, allocations: 62.11 kB / 1.041 GB, free: 15.82 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.364e-05/0.1677, allocations: 84 kB / 1.041 GB, free: 15.73 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008541/0.1686, allocations: 0.9804 MB / 1.042 GB, free: 14.63 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.1686, allocations: 0 / 1.042 GB, free: 14.63 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.653e-05/0.1687, allocations: 32 kB / 1.042 GB, free: 14.6 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/0.1687, allocations: 33.98 kB / 1.042 GB, free: 14.57 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000382/0.1691, allocations: 273.7 kB / 1.042 GB, free: 14.3 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.002905/0.172, allocations: 2.347 MB / 1.045 GB, free: 11.89 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/0.1724, allocations: 264.2 kB / 1.045 GB, free: 11.62 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.1725, allocations: 97.78 kB / 1.045 GB, free: 11.52 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 9.866e-05/0.1726, allocations: 20.31 kB / 1.045 GB, free: 11.5 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.1727, allocations: 54.05 kB / 1.045 GB, free: 11.44 MB / 1.01 GB Notification: Performance of pre-optimization done (n=39): time 2.685e-06/0.1727, allocations: 0 / 1.045 GB, free: 11.44 MB / 1.01 GB Notification: Performance of matching and sorting (n=41): time 0.002573/0.1752, allocations: 1.016 MB / 1.046 GB, free: 10.38 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.1753, allocations: 55.41 kB / 1.046 GB, free: 10.32 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004257/0.1757, allocations: 0.5967 MB / 1.047 GB, free: 9.703 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.427e-05/0.1757, allocations: 37.7 kB / 1.047 GB, free: 9.66 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004127/0.1761, allocations: 0.5026 MB / 1.047 GB, free: 9.148 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.1763, allocations: 158.7 kB / 1.047 GB, free: 8.992 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.1764, allocations: 115.9 kB / 1.048 GB, free: 8.871 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1766, allocations: 0.5624 MB / 1.048 GB, free: 8.297 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.1767, allocations: 61.27 kB / 1.048 GB, free: 8.238 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.1769, allocations: 262.5 kB / 1.048 GB, free: 7.918 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.0005874/0.1775, allocations: 458.9 kB / 1.049 GB, free: 7.426 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.1775, allocations: 0 / 1.049 GB, free: 7.426 MB / 1.01 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0008957/0.1784, allocations: 0.4926 MB / 1.049 GB, free: 6.922 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1784, allocations: 4 kB / 1.049 GB, free: 6.918 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1784, allocations: 4.219 kB / 1.049 GB, free: 6.914 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006937/0.1791, allocations: 251.4 kB / 1.05 GB, free: 6.664 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.1794, allocations: 127.8 kB / 1.05 GB, free: 6.539 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/0.1812, allocations: 1.98 MB / 1.052 GB, free: 4.445 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004134/0.1816, allocations: 35.97 kB / 1.052 GB, free: 4.41 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.1816, allocations: 16 kB / 1.052 GB, free: 4.395 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 (59): * Single equations (assignments): 58 * 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 prepare postOptimizeDAE: time 0.0002401/0.1819, allocations: 194 kB / 1.052 GB, free: 4.195 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.182, allocations: 91.53 kB / 1.052 GB, free: 4.105 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.416e-05/0.1821, allocations: 78.78 kB / 1.052 GB, free: 4.027 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1821, allocations: 4 kB / 1.052 GB, free: 4.023 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.1821, allocations: 0 / 1.052 GB, free: 4.023 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007202/0.1828, allocations: 416 kB / 1.052 GB, free: 3.582 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.1848, allocations: 1.241 MB / 1.054 GB, free: 2.246 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1848, allocations: 4 kB / 1.054 GB, free: 2.242 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/0.1851, allocations: 107.9 kB / 1.054 GB, free: 2.137 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006621/0.1857, allocations: 247.6 kB / 1.054 GB, free: 1.891 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.1858, allocations: 12 kB / 1.054 GB, free: 1.879 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4593/0.6451, allocations: 1.945 MB / 1.056 GB, free: 78.29 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.6451, allocations: 4.719 kB / 1.056 GB, free: 78.29 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.6464, allocations: 0.7425 MB / 1.057 GB, free: 77.93 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/0.6467, allocations: 135.5 kB / 1.057 GB, free: 77.93 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-05/0.6467, allocations: 17.95 kB / 1.057 GB, free: 77.93 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003755/0.6471, allocations: 38.41 kB / 1.057 GB, free: 77.93 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.6472, allocations: 42.23 kB / 1.057 GB, free: 77.93 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.41e-05/0.6472, allocations: 27.16 kB / 1.057 GB, free: 77.93 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002196/0.6474, allocations: 373.2 kB / 1.057 GB, free: 77.8 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.6474, allocations: 0.7812 kB / 1.057 GB, free: 77.8 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006359/0.6481, allocations: 268.9 kB / 1.058 GB, free: 77.8 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 (37): * Single equations (assignments): 36 * 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.0002463/0.6483, allocations: 168.3 kB / 1.058 GB, free: 77.71 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005893/0.6489, allocations: 449.4 kB / 1.058 GB, free: 77.53 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.6489, allocations: 2.906 kB / 1.058 GB, free: 77.53 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.6491, allocations: 329.6 kB / 1.058 GB, free: 77.35 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.6502, allocations: 445.4 kB / 1.059 GB, free: 77.34 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.6526, allocations: 1.621 MB / 1.06 GB, free: 76.56 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.6528, allocations: 210.2 kB / 1.061 GB, free: 76.48 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004255/0.6532, allocations: 129.2 kB / 1.061 GB, free: 76.48 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006635/0.6538, allocations: 426 kB / 1.061 GB, free: 76.43 MB / 1.01 GB Notification: Performance of SimCode: time 9.42e-07/0.6538, allocations: 0.9375 kB / 1.061 GB, free: 76.43 MB / 1.01 GB Notification: Performance of Templates: time 0.02392/0.6778, allocations: 19.46 MB / 1.08 GB, free: 74.86 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.429512423928827]