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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.484/2.484, allocations: 390.5 MB / 398 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 183.9 kB / 491.2 MB, free: 1.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.992/1.992, allocations: 221.5 MB / 0.7868 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 93.95 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.997e-05/2e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3577, allocations: 143 MB / 1.212 GB, free: 39.59 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.276/6.634, allocations: 1.919 GB / 3.132 GB, free: 345 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/6.634, allocations: 88.27 kB / 3.132 GB, free: 345 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.89/8.524, allocations: 0.5704 GB / 3.702 GB, free: 223.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.613e-06/8.524, allocations: 0 / 3.702 GB, free: 223.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001326/8.524, allocations: 24 kB / 3.702 GB, free: 223.5 MB / 1.151 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.00321/8.527, allocations: 1.233 MB / 3.703 GB, free: 222.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/8.527, allocations: 8.031 kB / 3.703 GB, free: 222.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002822/8.53, allocations: 416 kB / 3.704 GB, free: 221.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/8.532, allocations: 0.7818 MB / 3.705 GB, free: 221 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003331/8.532, allocations: 105.9 kB / 3.705 GB, free: 220.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002231/8.533, allocations: 44 kB / 3.705 GB, free: 220.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001329/8.534, allocations: 0.656 MB / 3.705 GB, free: 220.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/8.535, allocations: 0.7785 MB / 3.706 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/8.536, allocations: 0 / 3.706 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/8.536, allocations: 4 kB / 3.706 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-05/8.536, allocations: 33.98 kB / 3.706 GB, free: 219.4 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.005302/8.541, allocations: 3.224 MB / 3.709 GB, free: 216 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005375/8.542, allocations: 416.6 kB / 3.71 GB, free: 215.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/8.542, allocations: 234.5 kB / 3.71 GB, free: 215.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/8.542, allocations: 101.4 kB / 3.71 GB, free: 215.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/8.542, allocations: 44.53 kB / 3.71 GB, free: 215.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=39): time 2.365e-06/8.542, allocations: 3.938 kB / 3.71 GB, free: 215.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=41): time 0.003846/8.546, allocations: 1.426 MB / 3.711 GB, free: 213.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/8.546, allocations: 55.41 kB / 3.712 GB, free: 213.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007728/8.547, allocations: 0.5035 MB / 3.712 GB, free: 213.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.703e-05/8.547, allocations: 29.7 kB / 3.712 GB, free: 213.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/8.547, allocations: 455 kB / 3.712 GB, free: 212.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/8.547, allocations: 141.9 kB / 3.713 GB, free: 212.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/8.547, allocations: 4 kB / 3.713 GB, free: 212.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001529/8.548, allocations: 374.8 kB / 3.713 GB, free: 212.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/8.548, allocations: 205 kB / 3.713 GB, free: 211.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/8.548, allocations: 311.9 kB / 3.713 GB, free: 211.6 MB / 1.151 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.002477/8.551, allocations: 0.9934 MB / 3.714 GB, free: 210.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/8.551, allocations: 0 / 3.714 GB, free: 210.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002096/8.553, allocations: 0.8006 MB / 3.715 GB, free: 209.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/8.553, allocations: 8 kB / 3.715 GB, free: 209.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/8.553, allocations: 0 / 3.715 GB, free: 209.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003456/8.553, allocations: 140.8 kB / 3.715 GB, free: 209.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005686/8.554, allocations: 131.8 kB / 3.715 GB, free: 209.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/8.556, allocations: 1.756 MB / 3.717 GB, free: 207.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/8.557, allocations: 79.92 kB / 3.717 GB, free: 207.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.189e-05/8.557, allocations: 24 kB / 3.717 GB, free: 207.5 MB / 1.151 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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volSte.heatPort.Q_flow:VARIABLE(flow=true unit = "W" ) "Heat flow rate (positive if flowing from outside into the component)" type: Real 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 () * 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.0002915/8.558, allocations: 117.7 kB / 3.717 GB, free: 207.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/8.558, allocations: 79.09 kB / 3.717 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/8.558, allocations: 74.94 kB / 3.718 GB, free: 207.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/8.558, allocations: 4 kB / 3.718 GB, free: 207.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/8.558, allocations: 0 / 3.718 GB, free: 207.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001772/8.56, allocations: 0.7005 MB / 3.718 GB, free: 206.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00376/8.564, allocations: 1.676 MB / 3.72 GB, free: 204.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/8.564, allocations: 4 kB / 3.72 GB, free: 204.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005095/8.564, allocations: 116.1 kB / 3.72 GB, free: 204.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002983/8.564, allocations: 136.7 kB / 3.72 GB, free: 204.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/8.565, allocations: 11.95 kB / 3.72 GB, free: 204.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/8.567, allocations: 1.744 MB / 3.722 GB, free: 202.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/8.567, allocations: 4 kB / 3.722 GB, free: 202.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/8.569, allocations: 1.24 MB / 3.723 GB, free: 201.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004666/8.569, allocations: 212.2 kB / 3.723 GB, free: 201 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/8.569, allocations: 15.92 kB / 3.723 GB, free: 201 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009558/8.57, allocations: 75.98 kB / 3.723 GB, free: 200.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.385e-05/8.571, allocations: 35.91 kB / 3.723 GB, free: 200.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.115e-05/8.571, allocations: 35.92 kB / 3.723 GB, free: 200.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004918/8.571, allocations: 391.2 kB / 3.724 GB, free: 200.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/8.571, allocations: 0 / 3.724 GB, free: 200.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001616/8.573, allocations: 359.9 kB / 3.724 GB, free: 200.1 MB / 1.151 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 () * 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.002145/8.575, allocations: 1.506 MB / 3.726 GB, free: 198.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001016/8.576, allocations: 0.574 MB / 3.726 GB, free: 198.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/8.576, allocations: 0.6875 kB / 3.726 GB, free: 198.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004653/8.576, allocations: 341.5 kB / 3.726 GB, free: 197.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/8.578, allocations: 410.6 kB / 3.727 GB, free: 197.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/8.582, allocations: 1.385 MB / 3.728 GB, free: 196 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005381/8.582, allocations: 1.059 MB / 3.729 GB, free: 194.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008223/8.583, allocations: 177.8 kB / 3.729 GB, free: 194.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/8.584, allocations: 59.42 kB / 3.729 GB, free: 194.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.052e-06/8.584, allocations: 0 / 3.729 GB, free: 194.6 MB / 1.151 GB Notification: Performance of Templates: time 0.03202/8.616, allocations: 21.88 MB / 3.751 GB, free: 173 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches