Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.375/2.375, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.0003829, allocations: 12 kB / 0.8145 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7931/0.7935, allocations: 142.3 MB / 0.9535 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.1971/0.9906, allocations: 158.3 MB / 1.108 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01166/1.002, allocations: 5.666 MB / 1.114 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001826/1.004, allocations: 39.69 kB / 1.114 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002541/1.007, allocations: 0.5638 MB / 1.114 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006926/1.014, allocations: 1.678 MB / 1.116 GB, free: 9.621 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004411/1.018, allocations: 1.18 MB / 1.117 GB, free: 8.457 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003814/1.022, allocations: 1.5 MB / 1.119 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001374/1.023, allocations: 0.6696 MB / 1.119 GB, free: 6.273 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/1.026, allocations: 0.7514 MB / 1.12 GB, free: 5.52 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009836/1.027, allocations: 0.5058 MB / 1.12 GB, free: 5.012 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000107/1.027, allocations: 40 kB / 1.12 GB, free: 4.973 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002547/1.029, allocations: 0.9048 MB / 1.121 GB, free: 4.066 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003838/1.03, allocations: 315.1 kB / 1.122 GB, free: 3.758 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003666/1.03, allocations: 237.2 kB / 1.122 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002001/1.032, allocations: 1.368 MB / 1.123 GB, free: 2.148 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/1.032, allocations: 0 / 1.123 GB, free: 2.148 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.194e-06/1.032, allocations: 0 / 1.123 GB, free: 2.148 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.952e-05/1.032, allocations: 0 / 1.123 GB, free: 2.148 MB / 0.8731 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.002343/1.034, allocations: 1.241 MB / 1.124 GB, free: 0.8594 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.034, allocations: 8.031 kB / 1.124 GB, free: 0.8516 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002755/1.037, allocations: 446.2 kB / 1.125 GB, free: 424 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/1.039, allocations: 0.7342 MB / 1.126 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003598/1.039, allocations: 125.9 kB / 1.126 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/1.039, allocations: 79.98 kB / 1.126 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/1.041, allocations: 0.9944 MB / 1.127 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/1.041, allocations: 4 kB / 1.127 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.888e-05/1.042, allocations: 32 kB / 1.127 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.311e-05/1.042, allocations: 29.95 kB / 1.127 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001985/1.044, allocations: 0.9095 MB / 1.128 GB, free: 13.45 MB / 0.8887 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.006602/1.05, allocations: 3.525 MB / 1.131 GB, free: 9.742 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/1.052, allocations: 0.6573 MB / 1.132 GB, free: 9.078 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.445e-05/1.052, allocations: 8.328 kB / 1.132 GB, free: 9.07 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/1.052, allocations: 38.89 kB / 1.132 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=39): time 2.846e-06/1.052, allocations: 0 / 1.132 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of matching and sorting (n=41): time 0.008578/1.061, allocations: 2.542 MB / 1.134 GB, free: 6.402 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/1.061, allocations: 55.41 kB / 1.134 GB, free: 6.336 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/1.062, allocations: 0.7862 MB / 1.135 GB, free: 5.539 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/1.062, allocations: 37.7 kB / 1.135 GB, free: 5.496 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/1.062, allocations: 447.7 kB / 1.136 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/1.062, allocations: 149.8 kB / 1.136 GB, free: 4.902 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/1.063, allocations: 8 kB / 1.136 GB, free: 4.895 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.063, allocations: 330 kB / 1.136 GB, free: 4.566 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007764/1.063, allocations: 316.9 kB / 1.136 GB, free: 4.258 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008605/1.064, allocations: 432 kB / 1.137 GB, free: 3.801 MB / 0.8887 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.003969/1.068, allocations: 1.311 MB / 1.138 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/1.068, allocations: 7.891 kB / 1.138 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003328/1.072, allocations: 1.085 MB / 1.139 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/1.072, allocations: 8 kB / 1.139 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/1.072, allocations: 3.984 kB / 1.139 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006268/1.072, allocations: 196.8 kB / 1.139 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007198/1.073, allocations: 159.8 kB / 1.139 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004044/1.077, allocations: 2.166 MB / 1.142 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/1.078, allocations: 87.83 kB / 1.142 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.792e-05/1.079, allocations: 20 kB / 1.142 GB, free: 14.61 MB / 0.9044 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006415/1.079, allocations: 277.6 kB / 1.142 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/1.079, allocations: 86.97 kB / 1.142 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/1.08, allocations: 96.61 kB / 1.142 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.08, allocations: 4 kB / 1.142 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/1.08, allocations: 3.953 kB / 1.142 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0029/1.082, allocations: 0.95 MB / 1.143 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005745/1.088, allocations: 2.168 MB / 1.145 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.088, allocations: 0 / 1.145 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006739/1.089, allocations: 144.2 kB / 1.145 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005609/1.09, allocations: 196.7 kB / 1.145 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/1.09, allocations: 12 kB / 1.145 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003673/1.093, allocations: 2.116 MB / 1.148 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.093, allocations: 4 kB / 1.148 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004176/1.097, allocations: 1.642 MB / 1.149 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007337/1.098, allocations: 232 kB / 1.149 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/1.098, allocations: 19.98 kB / 1.149 GB, free: 6.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009004/1.099, allocations: 101.2 kB / 1.149 GB, free: 6.137 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/1.099, allocations: 47.91 kB / 1.15 GB, free: 6.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.449e-05/1.099, allocations: 27.92 kB / 1.15 GB, free: 6.062 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007504/1.1, allocations: 0.5497 MB / 1.15 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.986e-06/1.1, allocations: 0 / 1.15 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009985/1.101, allocations: 275.9 kB / 1.15 GB, free: 5.246 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005867/1.102, allocations: 198.9 kB / 1.151 GB, free: 5.051 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002176/1.104, allocations: 0.8326 MB / 1.151 GB, free: 4.207 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.104, allocations: 0.5 kB / 1.151 GB, free: 4.207 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009869/1.105, allocations: 483.2 kB / 1.152 GB, free: 3.723 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/1.108, allocations: 0.5256 MB / 1.152 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004979/1.113, allocations: 2.246 MB / 1.155 GB, free: 0.8945 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008535/1.114, allocations: 1.059 MB / 1.156 GB, free: 15.81 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001137/1.115, allocations: 203.2 kB / 1.156 GB, free: 15.61 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/1.115, allocations: 67.42 kB / 1.156 GB, free: 15.54 MB / 0.92 GB Notification: Performance of SimCode: time 7.61e-07/1.115, allocations: 0 / 1.156 GB, free: 15.54 MB / 0.92 GB Notification: Performance of Templates: time 0.03524/1.15, allocations: 19.06 MB / 1.174 GB, free: 12.75 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches